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

Method longBitsToDouble

Ports/CLDC11/src/java/lang/Double.java:129–131  ·  view source on GitHub ↗
(long bits)

Source from the content-addressed store, hash-verified

127 /// int s = ((bits >> 63) == 0) ? 1 : -1; int e = (int)((bits >> 52) & 0x7ffL); long m = (e == 0) ? (bits & 0xfffffffffffffL) << 1 : (bits & 0xfffffffffffffL) | 0x10000000000000L; Then the floating-point result equals the value of the mathematical expression
128 /// 2e-1075.
129 public static double longBitsToDouble(long bits){
130 return 0.0d; //TODO codavaj!!
131 }
132
133 /// Returns the long value of this Double (by casting to a long).
134 public long longValue(){

Callers 1

nextDownMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected