Home
last modified time | relevance | path

Searched refs:MAX_EXPONENT (Results 1 – 22 of 22) sorted by relevance

/libcore/ojluni/src/main/java/sun/misc/
DFpUtils.java345 case DoubleConsts.MAX_EXPONENT+1: // NaN or infinity in ilogb()
388 exponent <= DoubleConsts.MAX_EXPONENT); in ilogb()
415 case FloatConsts.MAX_EXPONENT+1: // NaN or infinity in ilogb()
458 exponent <= FloatConsts.MAX_EXPONENT); in ilogb()
DDoubleConsts.java69 public static final int MAX_EXPONENT = 1023; field in DoubleConsts
DFloatConsts.java65 public static final int MAX_EXPONENT = 127; field in FloatConsts
DFloatingDecimal.java2370 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/
DMath.java1596 case DoubleConsts.MAX_EXPONENT+1: // NaN or infinity in ulp()
1603 assert exp <= DoubleConsts.MAX_EXPONENT && exp >= DoubleConsts.MIN_EXPONENT; in ulp()
1647 case FloatConsts.MAX_EXPONENT+1: // NaN or infinity in ulp()
1654 assert exp <= FloatConsts.MAX_EXPONENT && exp >= FloatConsts.MIN_EXPONENT; in ulp()
2418 final int MAX_SCALE = DoubleConsts.MAX_EXPONENT + -DoubleConsts.MIN_EXPONENT + in scalb()
2487 final int MAX_SCALE = FloatConsts.MAX_EXPONENT + -FloatConsts.MIN_EXPONENT + in scalb()
2513 assert(n >= DoubleConsts.MIN_EXPONENT && n <= DoubleConsts.MAX_EXPONENT); in powerOfTwoD()
2523 assert(n >= FloatConsts.MIN_EXPONENT && n <= FloatConsts.MAX_EXPONENT); in powerOfTwoF()
DFloat.java105 public static final int MAX_EXPONENT = 127; field in Float
DDouble.java107 public static final int MAX_EXPONENT = 1023; field in Double
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DMathTest.java419 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 };
1454 double halfMax = Math.scalb(1.0, Double.MAX_EXPONENT); in test_scalb_DI()
1459 Double.MAX_EXPONENT + 1)); in test_scalb_DI()
1461 Double.MAX_EXPONENT + 2)); in test_scalb_DI()
1463 halfMax = Math.scalb(-1.0, Double.MAX_EXPONENT); in test_scalb_DI()
[all …]
DStrictMathTest.java1018 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()
DFloatTest.java1070 Float.MAX_EXPONENT == 127); in test_MAX_EXPONENT()
1072 Float.MAX_EXPONENT == Math.getExponent(Float.MAX_VALUE)); in test_MAX_EXPONENT()
DDoubleTest.java1439 Double.MAX_EXPONENT == 1023); in test_MAX_EXPONENT()
1441 Double.MAX_EXPONENT == Math.getExponent(Double.MAX_VALUE)); in test_MAX_EXPONENT()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DDouble.annotated.java95 public static final int MAX_EXPONENT = 1023; // 0x3ff field in Double
DFloat.annotated.java97 public static final int MAX_EXPONENT = 127; // 0x7f field in Float
/libcore/ojluni/annotations/hiddenapi/java/lang/
DDouble.java154 public static final int MAX_EXPONENT = 1023; // 0x3ff field in Double
DFloat.java157 public static final int MAX_EXPONENT = 127; // 0x7f field in Float
/libcore/luni/src/main/java/libcore/util/
DFP16.java122 public static final int MAX_EXPONENT = 15; field in FP16
/libcore/ojluni/src/main/java/java/math/
DBigInteger.java4177 } else if (exponent > Float.MAX_EXPONENT) {
4261 } else if (exponent > Double.MAX_EXPONENT) {
/libcore/mmodules/core_platform_api/api/legacy_platform/
Dcurrent.txt685 field public static final int MAX_EXPONENT = 15; // 0xf
/libcore/mmodules/core_platform_api/api/stable_platform/
Dcurrent.txt685 field public static final int MAX_EXPONENT = 15; // 0xf
/libcore/api/
Dmodule-lib-current.txt685 field public static final int MAX_EXPONENT = 15; // 0xf
Dcurrent.txt2997 field public static final int MAX_EXPONENT = 1023; // 0x3ff
3079 field public static final int MAX_EXPONENT = 127; // 0x7f
/libcore/ojluni/src/main/java/java/util/
DFormatter.java3562 exponent <= DoubleConsts.MAX_EXPONENT: exponent;