generate a new random number . concode_field_sep Random numGen concode_elem_sep double shape concode_elem_sep double den concode_field_sep void computeDen
double function ( ) { double loc0 = numGen . nextDouble ( ) ; double loc1 = 1 ; double loc2 = 1 + 1 / Math . pow ( 2 , shape ) ; double loc3 = 3 ; while ( loc0 > loc2 / den ) { loc1 = loc2 ; loc2 += 1 / Math . pow ( loc3 , shape ) ; loc3 ++ ; } return loc1 / den ; }