APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.internal.math

public Class DoubleConsts

extends Object
Class Inheritance
Static Imports
java.lang.Double.MIN_EXPONENT, .Double.PRECISION, .Double.SIZE

This class contains additional constants documenting limits of the double type.

Field Summary

Modifier and TypeField and Description
public static final int
EXP_BIAS

Bias used in representing a double exponent.

public static final long
EXP_BIT_MASK

Bit mask to isolate the exponent field of a double.

public static final long
MAG_BIT_MASK

Bit mask to isolate the magnitude bits (combined exponent and significand fields) of a double.

public static final int
MIN_SUB_EXPONENT

The exponent the smallest positive double subnormal value would have if it could be normalized..

public static final long
SIGN_BIT_MASK

Bit mask to isolate the sign bit of a double.

public static final long
SIGNIF_BIT_MASK

Bit mask to isolate the significand field of a double.

public static final int
SIGNIFICAND_WIDTH

The number of logical bits in the significand of a double number, including the implicit bit.

Constructor Summary

AccessConstructor and Description
private
DoubleConsts()

Don't let anyone instantiate this class.

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

EXP_BIASback to summary
public static final int EXP_BIAS

Bias used in representing a double exponent.

EXP_BIT_MASKback to summary
public static final long EXP_BIT_MASK

Bit mask to isolate the exponent field of a double.

MAG_BIT_MASKback to summary
public static final long MAG_BIT_MASK

Bit mask to isolate the magnitude bits (combined exponent and significand fields) of a double.

MIN_SUB_EXPONENTback to summary
public static final int MIN_SUB_EXPONENT

The exponent the smallest positive double subnormal value would have if it could be normalized..

SIGN_BIT_MASKback to summary
public static final long SIGN_BIT_MASK

Bit mask to isolate the sign bit of a double.

SIGNIF_BIT_MASKback to summary
public static final long SIGNIF_BIT_MASK

Bit mask to isolate the significand field of a double.

SIGNIFICAND_WIDTHback to summary
public static final int SIGNIFICAND_WIDTH

The number of logical bits in the significand of a double number, including the implicit bit.

Constructor Detail

DoubleConstsback to summary
private DoubleConsts()

Don't let anyone instantiate this class.