Searched refs:MAX_EXPONENT (Results 1 – 12 of 12) sorted by relevance
/libcore/ojluni/src/main/java/sun/misc/ |
D | FpUtils.java | 168 assert(n >= DoubleConsts.MIN_EXPONENT && n <= DoubleConsts.MAX_EXPONENT); in powerOfTwoD() 178 assert(n >= FloatConsts.MIN_EXPONENT && n <= FloatConsts.MAX_EXPONENT); in powerOfTwoF() 376 case DoubleConsts.MAX_EXPONENT+1: // NaN or infinity in ilogb() 419 exponent <= DoubleConsts.MAX_EXPONENT); in ilogb() 446 case FloatConsts.MAX_EXPONENT+1: // NaN or infinity in ilogb() 489 exponent <= FloatConsts.MAX_EXPONENT); in ilogb() 605 final int MAX_SCALE = DoubleConsts.MAX_EXPONENT + -DoubleConsts.MIN_EXPONENT + in scalb() 676 final int MAX_SCALE = FloatConsts.MAX_EXPONENT + -FloatConsts.MIN_EXPONENT + in scalb() 1098 case DoubleConsts.MAX_EXPONENT+1: // NaN or infinity in ulp() 1105 assert exp <= DoubleConsts.MAX_EXPONENT && exp >= DoubleConsts.MIN_EXPONENT; in ulp() [all …]
|
D | DoubleConsts.java | 69 public static final int MAX_EXPONENT = 1023; field in DoubleConsts
|
D | FloatConsts.java | 65 public static final int MAX_EXPONENT = 127; field in FloatConsts
|
D | FloatingDecimal.java | 2370 if (exponent > FloatConsts.MAX_EXPONENT) { in parseHexString() 2401 if (exponent > DoubleConsts.MAX_EXPONENT) { // Infinite result in parseHexString() 2405 if (exponent <= DoubleConsts.MAX_EXPONENT && // (Usually) normal result in parseHexString()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Math.java | 1443 case DoubleConsts.MAX_EXPONENT+1: // NaN or infinity in ulp() 1450 assert exp <= DoubleConsts.MAX_EXPONENT && exp >= DoubleConsts.MIN_EXPONENT; in ulp() 1494 case FloatConsts.MAX_EXPONENT+1: // NaN or infinity in ulp() 1501 assert exp <= FloatConsts.MAX_EXPONENT && exp >= FloatConsts.MIN_EXPONENT; in ulp() 2265 final int MAX_SCALE = DoubleConsts.MAX_EXPONENT + -DoubleConsts.MIN_EXPONENT + in scalb() 2334 final int MAX_SCALE = FloatConsts.MAX_EXPONENT + -FloatConsts.MIN_EXPONENT + in scalb() 2360 assert(n >= DoubleConsts.MIN_EXPONENT && n <= DoubleConsts.MAX_EXPONENT); in powerOfTwoD() 2370 assert(n >= FloatConsts.MIN_EXPONENT && n <= FloatConsts.MAX_EXPONENT); in powerOfTwoF()
|
D | Float.java | 106 public static final int MAX_EXPONENT = 127; field in Float
|
D | Double.java | 108 public static final int MAX_EXPONENT = 1023; field in Double
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | MathTest.java | 419 Double.MAX_EXPONENT + 1, Double.MAX_EXPONENT + 1, 420 Double.MAX_EXPONENT, Double.MAX_EXPONENT, 768, 768, 11, 11, 2, 2, 426 Double.MAX_EXPONENT + 1 }; 464 Float.MAX_EXPONENT + 1, Float.MAX_EXPONENT + 1, Float.MAX_EXPONENT, 465 Float.MAX_EXPONENT, 78, 78, 11, 11, 2, 2, 0, 0, -1, -1, -2, -2, 470 Float.MIN_EXPONENT - 1, Float.MAX_EXPONENT + 1, 0, Float.MIN_EXPONENT }; 1448 double halfMax = Math.scalb(1.0, Double.MAX_EXPONENT); in test_scalb_DI() 1453 Double.MAX_EXPONENT + 1)); in test_scalb_DI() 1455 Double.MAX_EXPONENT + 2)); in test_scalb_DI() 1457 halfMax = Math.scalb(-1.0, Double.MAX_EXPONENT); in test_scalb_DI() [all …]
|
D | StrictMathTest.java | 1018 double halfMax = StrictMath.scalb(1.0, Double.MAX_EXPONENT); in test_scalb_DI() 1024 .ulp(1.0), Double.MAX_EXPONENT + 1)); in test_scalb_DI() 1026 1.0 - StrictMath.ulp(1.0), Double.MAX_EXPONENT + 2)); in test_scalb_DI() 1028 halfMax = StrictMath.scalb(-1.0, Double.MAX_EXPONENT); in test_scalb_DI() 1172 float halfMax = StrictMath.scalb(1.0f, Float.MAX_EXPONENT); in test_scalb_FI() 1178 .ulp(1.0f), Float.MAX_EXPONENT + 1)); in test_scalb_FI() 1180 1.0f - StrictMath.ulp(1.0f), Float.MAX_EXPONENT + 2)); in test_scalb_FI() 1182 halfMax = StrictMath.scalb(-1.0f, Float.MAX_EXPONENT); in test_scalb_FI()
|
D | FloatTest.java | 1069 Float.MAX_EXPONENT == 127); in test_MAX_EXPONENT() 1071 Float.MAX_EXPONENT == Math.getExponent(Float.MAX_VALUE)); in test_MAX_EXPONENT()
|
D | DoubleTest.java | 1438 Double.MAX_EXPONENT == 1023); in test_MAX_EXPONENT() 1440 Double.MAX_EXPONENT == Math.getExponent(Double.MAX_VALUE)); in test_MAX_EXPONENT()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Formatter.java | 3561 exponent <= DoubleConsts.MAX_EXPONENT: exponent;
|