How to generate random double numbers with high precision in C++?
I am trying to generate a number of series of double random numbers with
high precision. For example, 0.856365621 (has 9 digits after decimal).
I've found some methods from internet, however, they do generate double
random number, but the precision is not as good as I request (only 6
digits after the decimal).
Thus, may I know how to achieve my goal?
No comments:
Post a Comment