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