Home > Software design >  What is the distribution of math.random in Java?
What is the distribution of math.random in Java?

Time:03-05

I want to use math.random() in a Java program.

What is the distribution of this way of getting doubles?

CodePudding user response:

This is documented in the enter image description here

image reproduced from docs.oracle.com

  • Related