int function ( long arg0 , long arg1 ) { int loc0 = 0 ; for ( int loc1 = 52 ; loc1 >= 0 ; loc1 -- ) { if ( getBit ( arg0 , loc1 ) != getBit ( arg1 , loc1 ) ) return loc0 ; loc0 ++ ; } return 52 ; }
this computes the number of common most-significant bits in the mantissas of two double-precision numbers . it does not count the hidden bit , which is always 1 . it does not determine whether the numbers have the same exponent - if they do not , the value computed by this function is meaningless . concode_field_sep long commonSignExp concode_elem_sep boolean isFirst concode_elem_sep long commonBits concode_elem_sep int commonMantissaBitsCount concode_field_sep long zeroLowerBits concode_elem_sep void add concode_elem_sep long signExpBits concode_elem_sep double getCommon concode_elem_sep String toString concode_elem_sep int getBit