generates the next pseudorandom float uniformly distributed between 0.0 f inclusive and 1.0 f exclusive . the implementation is as follows . public float nextfloat return next 24 / float 1 < < 24 ; concode_field_sep long seed concode_elem_sep long serialVersionUID concode_elem_sep boolean haveNextNextGaussian concode_elem_sep double nextNextGaussian concode_field_sep int next concode_elem_sep int nextInt concode_elem_sep int nextInt concode_elem_sep boolean nextBoolean concode_elem_sep void setSeed concode_elem_sep long nextLong concode_elem_sep double nextDouble concode_elem_sep double nextGaussian concode_elem_sep void nextBytes
float function ( ) { return next ( 24 ) / ( float ) ( 1 << 24 ) ; }