MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / doubleToLongBits

Method doubleToLongBits

vm/JavaAPI/src/java/lang/Double.java:91–91  ·  view source on GitHub ↗

Returns a representation of the specified floating-point value according to the IEEE 754 floating-point "double format" bit layout. Bit 63 (the bit that is selected by the mask 0x8000000000000000L) represents the sign of the floating-point number. Bits 62-52 (the bits that are selected by the mask 0

(double value)

Source from the content-addressed store, hash-verified

89 * In all cases, the result is a long integer that, when given to the longBitsToDouble(long) method, will produce a floating-point value equal to the argument to doubleToLongBits.
90 */
91 public native static long doubleToLongBits(double value);
92
93 /**
94 * Returns the double value of this Double.

Callers 15

hashCodeMethod · 0.95
hashCodeMethod · 0.95
hashCodeMethod · 0.95
writeDoubleMethod · 0.95
ulpMethod · 0.95
ieee754ExpMethod · 0.95
ieee754LogMethod · 0.95
ieee754PowMethod · 0.95
ieee754AcosMethod · 0.95
ieee754AsinMethod · 0.95
ieee754AtanMethod · 0.95
ieee754Atan2Method · 0.95

Calls

no outgoing calls

Tested by 2