public class FloatConsts extends Object
float
type.Modifier and Type | Field and Description |
---|---|
static int |
EXP_BIAS
Bias used in representing a
float exponent. |
static int |
EXP_BIT_MASK
Bit mask to isolate the exponent field of a
float . |
static int |
MAX_EXPONENT
Maximum exponent a finite
float number may have. |
static float |
MAX_VALUE |
static int |
MIN_EXPONENT
Minimum exponent a normalized
float number may
have. |
static float |
MIN_NORMAL
A constant holding the smallest positive normal value of type
float , 2-126. |
static int |
MIN_SUB_EXPONENT
The exponent the smallest positive
float subnormal
value would have if it could be normalized. |
static float |
MIN_VALUE |
static float |
NaN |
static float |
NEGATIVE_INFINITY |
static float |
POSITIVE_INFINITY |
static int |
SIGN_BIT_MASK
Bit mask to isolate the sign bit of a
float . |
static int |
SIGNIF_BIT_MASK
Bit mask to isolate the significand field of a
float . |
static int |
SIGNIFICAND_WIDTH
The number of logical bits in the significand of a
float number, including the implicit bit. |
public static final int EXP_BIAS
float
exponent.public static final int EXP_BIT_MASK
float
.public static final int MAX_EXPONENT
float
number may have.
It is equal to the value returned by
Math.ilogb(Float.MAX_VALUE)
.public static final float MAX_VALUE
public static final int MIN_EXPONENT
float
number may
have. It is equal to the value returned by
Math.ilogb(Float.MIN_NORMAL)
.public static final float MIN_NORMAL
float
, 2-126. It is equal to the value
returned by Float.intBitsToFloat(0x00800000)
.public static final int MIN_SUB_EXPONENT
float
subnormal
value would have if it could be normalized. It is equal to the
value returned by FpUtils.ilogb(Float.MIN_VALUE)
.public static final float MIN_VALUE
public static final float NaN
public static final float NEGATIVE_INFINITY
public static final float POSITIVE_INFINITY
public static final int SIGN_BIT_MASK
float
.public static final int SIGNIF_BIT_MASK
float
.public static final int SIGNIFICAND_WIDTH
float
number, including the implicit bit.