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