Home
last modified time | relevance | path

Searched refs:MAX_EXPONENT (Results 1 – 16 of 16) 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()
DFloatConsts.java65 public static final int MAX_EXPONENT = 127; field in FloatConsts
DDoubleConsts.java69 public static final int MAX_EXPONENT = 1023; field in DoubleConsts
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.java1454 case DoubleConsts.MAX_EXPONENT+1: // NaN or infinity in ulp()
1461 assert exp <= DoubleConsts.MAX_EXPONENT && exp >= DoubleConsts.MIN_EXPONENT; in ulp()
1505 case FloatConsts.MAX_EXPONENT+1: // NaN or infinity in ulp()
1512 assert exp <= FloatConsts.MAX_EXPONENT && exp >= FloatConsts.MIN_EXPONENT; in ulp()
2276 final int MAX_SCALE = DoubleConsts.MAX_EXPONENT + -DoubleConsts.MIN_EXPONENT + in scalb()
2345 final int MAX_SCALE = FloatConsts.MAX_EXPONENT + -FloatConsts.MIN_EXPONENT + in scalb()
2371 assert(n >= DoubleConsts.MIN_EXPONENT && n <= DoubleConsts.MAX_EXPONENT); in powerOfTwoD()
2381 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 };
1445 double halfMax = Math.scalb(1.0, Double.MAX_EXPONENT); in test_scalb_DI()
1450 Double.MAX_EXPONENT + 1)); in test_scalb_DI()
1452 Double.MAX_EXPONENT + 2)); in test_scalb_DI()
1454 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/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/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/src/main/java/java/util/
DFormatter.java3562 exponent <= DoubleConsts.MAX_EXPONENT: exponent;