java.lang.Object | |
↳ | sun.misc.DoubleConsts |
This class contains additional constants documenting limits of the
double
type.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | EXP_BIAS | Bias used in representing a double exponent. |
|||||||||
long | EXP_BIT_MASK | Bit mask to isolate the exponent field of a
double . |
|||||||||
int | MAX_EXPONENT | Maximum exponent a finite double number may have. |
|||||||||
double | MAX_VALUE | ||||||||||
int | MIN_EXPONENT | Minimum exponent a normalized double number may
have. |
|||||||||
double | MIN_NORMAL | A constant holding the smallest positive normal value of type
double , 2-1022. |
|||||||||
int | MIN_SUB_EXPONENT | The exponent the smallest positive double
subnormal value would have if it could be normalized. |
|||||||||
double | MIN_VALUE | ||||||||||
double | NEGATIVE_INFINITY | ||||||||||
double | NaN | ||||||||||
double | POSITIVE_INFINITY | ||||||||||
int | SIGNIFICAND_WIDTH | The number of logical bits in the significand of a
double number, including the implicit bit. |
|||||||||
long | SIGNIF_BIT_MASK | Bit mask to isolate the significand field of a
double . |
|||||||||
long | SIGN_BIT_MASK | Bit mask to isolate the sign bit of a double . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Bias used in representing a double
exponent.
Bit mask to isolate the exponent field of a
double
.
Maximum exponent a finite double
number may have.
It is equal to the value returned by
Math.ilogb(Double.MAX_VALUE)
.
Minimum exponent a normalized double
number may
have. It is equal to the value returned by
Math.ilogb(Double.MIN_NORMAL)
.
A constant holding the smallest positive normal value of type
double
, 2-1022. It is equal to the
value returned by
Double.longBitsToDouble(0x0010000000000000L)
.
The exponent the smallest positive double
subnormal value would have if it could be normalized. It is
equal to the value returned by
FpUtils.ilogb(Double.MIN_VALUE)
.
The number of logical bits in the significand of a
double
number, including the implicit bit.
Bit mask to isolate the significand field of a
double
.
Bit mask to isolate the sign bit of a double
.