Matt Bru

2018-03-09 21:35:57 UTC

I have a question about org.apache.commons.math3.random.BitsStreamGenerator.

nextDouble() documents:

âReturns the next pseudorandom, uniformly distributed double value

between 0.0 and 1.0 from this random number generator's sequence.â

Is this 0 (inclusive) and 1.0 (exclusive) as java.util.Random is?

nextDouble() documents:

âReturns the next pseudorandom, uniformly distributed double value

between 0.0 and 1.0 from this random number generator's sequence.â

Is this 0 (inclusive) and 1.0 (exclusive) as java.util.Random is?