public final class Binary64 extends Object
binary64 (double) values.| Constructor and Description |
|---|
Binary64() |
| Modifier and Type | Method and Description |
|---|---|
static long |
unpackGetExponentUnbiased(double d)
Extract and unbias the exponent of the given packed
double
value. |
static long |
unpackGetSign(double d)
Return the sign of the given double value.
|
static long |
unpackGetSignificand(double d)
Return the significand of the given double value.
|
public static long unpackGetExponentUnbiased(double d)
Extract and unbias the exponent of the given packed double
value.
The exponent is encoded biased as a number in the range
[0, 2047], with 0 indicating that the number is
subnormal and [1, 2046] denoting the actual exponent
plus BIAS. Infinite and NaN values always have a
biased exponent of 2047.
This function will therefore return:
#packSetExponentUnbiasedUnchecked(int)public static long unpackGetSignificand(double d)
Return the significand of the given double value.
public static long unpackGetSign(double d)
Return the sign of the given double value.
Copyright 2010 JogAmp Community.