doubleToLongBits
Returns a representation of the specified double value according to the IEEE 754 "double format" bit layout.
If value is not NaN, this function returns the raw bits (via doubleToRawLongBits); if value is NaN, it returns the canonical NaN value 0x7ff8000000000000L.
This mimics Java’s doubleToLongBits, which collapses all NaN bit-patterns to a canonical NaN.
Return
the bits that represent the floating-point number.
Parameters
value
a double-precision floating-point number.