+ 4

Math.random() distribution example

I was curios how the distribution for the random method in the java.lang library looks like. So i made a program that prints out the distribution. If you want to change the parameters, please modify the two integers in the main method. https://code.sololearn.com/c4bX91sEWYWy/?ref=app

25th Apr 2017, 6:39 AM
TransHedgehog - avatar
1 Answer
+ 8
Thx for sharing.
26th Apr 2017, 5:20 PM
Tashi N
Tashi N - avatar