Package com.sun.ts.lib.util
Class DoubleConsts
java.lang.Object
com.sun.ts.lib.util.DoubleConsts
This class contains additional constants documenting limits of the 
double type.- Author:
- Joseph D. Darcy
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intBias used in representing adoubleexponent.static final longBit mask to isolate the exponent field of adouble.static final intMaximum exponent a finitedoublenumber may have.static final doublestatic final intMinimum exponent a normalizeddoublenumber may have.static final doubleA constant holding the smallest positive normal value of typedouble, 2-1022.static final intThe exponent the smallest positivedoublesubnormal value would have if it could be normalized.static final doublestatic final doublestatic final doublestatic final doublestatic final longBit mask to isolate the sign bit of adouble.static final longBit mask to isolate the significand field of adouble.static final intThe number of logical bits in the significand of adoublenumber, including the implicit bit.
- 
Method Summary
- 
Field Details- 
POSITIVE_INFINITYpublic static final double POSITIVE_INFINITY- See Also:
 
- 
NEGATIVE_INFINITYpublic static final double NEGATIVE_INFINITY- See Also:
 
- 
NaNpublic static final double NaN- See Also:
 
- 
MAX_VALUEpublic static final double MAX_VALUE- See Also:
 
- 
MIN_VALUEpublic static final double MIN_VALUE- See Also:
 
- 
MIN_NORMALpublic static final double MIN_NORMALA constant holding the smallest positive normal value of typedouble, 2-1022. It is equal to the value returned byDouble.longBitsToDouble(0x0010000000000000L).- Since:
- 1.5
- See Also:
 
- 
SIGNIFICAND_WIDTHpublic static final int SIGNIFICAND_WIDTHThe number of logical bits in the significand of adoublenumber, including the implicit bit.- See Also:
 
- 
MAX_EXPONENTpublic static final int MAX_EXPONENTMaximum exponent a finitedoublenumber may have. It is equal to the value returned byMath.ilogb(Double.MAX_VALUE).- See Also:
 
- 
MIN_EXPONENTpublic static final int MIN_EXPONENTMinimum exponent a normalizeddoublenumber may have. It is equal to the value returned byMath.ilogb(Double.MIN_NORMAL).- See Also:
 
- 
MIN_SUB_EXPONENTpublic static final int MIN_SUB_EXPONENTThe exponent the smallest positivedoublesubnormal value would have if it could be normalized. It is equal to the value returned byFpUtils.ilogb(Double.MIN_VALUE).- See Also:
 
- 
EXP_BIASpublic static final int EXP_BIASBias used in representing adoubleexponent.- See Also:
 
- 
SIGN_BIT_MASKpublic static final long SIGN_BIT_MASKBit mask to isolate the sign bit of adouble.- See Also:
 
- 
EXP_BIT_MASKpublic static final long EXP_BIT_MASKBit mask to isolate the exponent field of adouble.- See Also:
 
- 
SIGNIF_BIT_MASKpublic static final long SIGNIF_BIT_MASKBit mask to isolate the significand field of adouble.- See Also:
 
 
-