Home
last modified time | relevance | path

Searched refs:EXP_BIAS (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/test/java/lang/Math/
DFloatConsts.java42 public static final int EXP_BIAS = jdk.internal.math.FloatConsts.EXP_BIAS; field in FloatConsts
DDoubleConsts.java42 public static final int EXP_BIAS = jdk.internal.math.DoubleConsts.EXP_BIAS; field in DoubleConsts
/libcore/ojluni/src/main/java/jdk/internal/math/
DFloatingDecimal.java45 static final long EXP_ONE = ((long)DoubleConsts.EXP_BIAS)<<EXP_SHIFT; // exponent of 1.0
823 … int exponent = (int)((dBits & DoubleConsts.EXP_BIT_MASK) >> EXP_SHIFT) - DoubleConsts.EXP_BIAS;
1273 binexp -= DoubleConsts.EXP_BIAS;
1300 if (binexp <= -DoubleConsts.EXP_BIAS) {
1304 hulpbias = binexp + lowOrderZeros + DoubleConsts.EXP_BIAS;
1342 if ((bigIntNBits == 1) && (bigIntExp > -DoubleConsts.EXP_BIAS + 1)) {
1579 binexp -= FloatConsts.EXP_BIAS; in floatValue()
1606 if (binexp <= -FloatConsts.EXP_BIAS) { in floatValue()
1610 hulpbias = binexp + lowOrderZeros + FloatConsts.EXP_BIAS; in floatValue()
1648 if ((bigIntNBits == 1) && (bigIntExp > -FloatConsts.EXP_BIAS + 1)) { in floatValue()
[all …]
DFloatConsts.java88 public static final int EXP_BIAS = field in FloatConsts
DDoubleConsts.java92 public static final int EXP_BIAS = field in DoubleConsts
/libcore/ojluni/src/main/java/java/lang/
DMath.java900 + FloatConsts.EXP_BIAS) - biasedExp; in round()
950 + DoubleConsts.EXP_BIAS) - biasedExp; in round()
3128 (FloatConsts.SIGNIFICAND_WIDTH - 1)) - FloatConsts.EXP_BIAS;
3156 (DoubleConsts.SIGNIFICAND_WIDTH - 1)) - DoubleConsts.EXP_BIAS);
3633 return Double.longBitsToDouble((((long)n + (long)DoubleConsts.EXP_BIAS) <<
3643 return Float.intBitsToFloat(((n + FloatConsts.EXP_BIAS) <<
/libcore/ojluni/src/test/java/lang/Double/
DToHexStringTest.java91 DoubleConsts.EXP_BIAS; in hexLongStringtoHexDoubleString()
/libcore/ojluni/src/main/java/java/math/
DBigInteger.java4466 int bits = ((exponent + FloatConsts.EXP_BIAS))
4559 long bits = (long) ((exponent + DoubleConsts.EXP_BIAS))