How can I generate random doubles between negative and positive infinity in c# (full span of values of double type)?
Asked
Active
Viewed 2,755 times
2
-
1https://stackoverflow.com/questions/1064901/random-number-between-2-double-numbers and use the max representable pos and neg doubles in C# – PhillipD Dec 03 '17 at 10:09
-
1This has already been answered here: https://stackoverflow.com/questions/1064901/random-number-between-2-double-numbers – Chris Carr Dec 03 '17 at 10:09
-
What do you want want to do this for? – Enigmativity Dec 03 '17 at 10:46
-
Technically this has not been answered yet, since the answer provided in the "duplicate" will not work if your minimum value is negative and your maximum value is positive. – Brynn McCullagh Jun 24 '18 at 16:58