long function ( double arg0 ) { long loc0 = Double . doubleToLongBits ( arg0 ) ; return loc0 ^ ( loc0 >> 63 ) & Long . MAX_VALUE ; }
converts a double value to a sortable long . the value is converted by getting their ieee 754 floating-point bit layout . some bits are swapped to be able to compare the result as long . concode_field_sep PlaceHolder placeHolder concode_field_sep int floatToSortableInt concode_elem_sep float sortableIntToFloat concode_elem_sep double sortableLongToDouble