) (compare to doubleToRawLongBits(double) ). public static long doubleToRawLongBits (double value) Since: API Level 1 Returns an integer corresponding to the bits of the given IEEE 754 double precision value . Not-a-Number (NaN) values are preserved (compare to doubleToLongBits(double) ). public double doubleValue () Since: API Level 1 Gets the primitive value