jdk/src/share/classes/java/util/Random.java
changeset 18156 edb590d448c5
parent 17421 f3fbcfe6e2cf
child 19074 84a8d23e8f32
equal deleted inserted replaced
18155:889970e5b728 18156:edb590d448c5
   370      * <p>The general contract of {@code nextFloat} is that one
   370      * <p>The general contract of {@code nextFloat} is that one
   371      * {@code float} value, chosen (approximately) uniformly from the
   371      * {@code float} value, chosen (approximately) uniformly from the
   372      * range {@code 0.0f} (inclusive) to {@code 1.0f} (exclusive), is
   372      * range {@code 0.0f} (inclusive) to {@code 1.0f} (exclusive), is
   373      * pseudorandomly generated and returned. All 2<font
   373      * pseudorandomly generated and returned. All 2<font
   374      * size="-1"><sup>24</sup></font> possible {@code float} values
   374      * size="-1"><sup>24</sup></font> possible {@code float} values
   375      * of the form <i>m&nbsp;x&nbsp</i>2<font
   375      * of the form <i>m&nbsp;x&nbsp;</i>2<font
   376      * size="-1"><sup>-24</sup></font>, where <i>m</i> is a positive
   376      * size="-1"><sup>-24</sup></font>, where <i>m</i> is a positive
   377      * integer less than 2<font size="-1"><sup>24</sup> </font>, are
   377      * integer less than 2<font size="-1"><sup>24</sup> </font>, are
   378      * produced with (approximately) equal probability.
   378      * produced with (approximately) equal probability.
   379      *
   379      *
   380      * <p>The method {@code nextFloat} is implemented by class {@code Random}
   380      * <p>The method {@code nextFloat} is implemented by class {@code Random}