Generates a normally distributed random double number between 0.0 inclusively and 1.0 exclusively. @return a random double in the range [0.0 - 1.0) @see #nextFloat
()
| 137 | * @see #nextFloat |
| 138 | */ |
| 139 | public double nextDouble() { |
| 140 | return ((((long) next(26) << 27) + next(27)) / (double) (1L << 53)); |
| 141 | } |
| 142 | |
| 143 | /** |
| 144 | * Generates a normally distributed random {@code float} number between 0.0 |
no test coverage detected