/libcore/ojluni/src/test/java/lang/Math/ |
D | IeeeRecommendedTests.java | 67 return Double.longBitsToDouble((((long) n + (long) Double.MAX_EXPONENT) << in powerOfTwoD() 76 return Float.intBitsToFloat(((n + Float.MAX_EXPONENT) << in powerOfTwoF() 142 int[] specialResults = {Float.MAX_EXPONENT + 1, // NaN results in testFloatGetExponent() 143 Float.MAX_EXPONENT + 1, // Infinite results in testFloatGetExponent() 149 -Float.MAX_EXPONENT, in testFloatGetExponent() 151 Float.MAX_EXPONENT in testFloatGetExponent() 160 for (int i = Float.MIN_EXPONENT; i <= Float.MAX_EXPONENT; i++) { in testFloatGetExponent() 239 int[] specialResults = {Double.MAX_EXPONENT + 1, // NaN results in testDoubleGetExponent() 240 Double.MAX_EXPONENT + 1, // Infinite results in testDoubleGetExponent() 246 -Double.MAX_EXPONENT, in testDoubleGetExponent() [all …]
|
D | Expm1Tests.java | 101 for (int i = 10; i <= Double.MAX_EXPONENT; i++) { in testExpm1() 117 for (int i = 7; i <= Double.MAX_EXPONENT; i++) { in testExpm1()
|
D | Tests.java | 91 case Double.MAX_EXPONENT + 1: // NaN or infinity in ilogb() 135 exponent <= Double.MAX_EXPONENT); in ilogb() 160 case Float.MAX_EXPONENT + 1: // NaN or infinity in ilogb() 204 exponent <= Float.MAX_EXPONENT); in ilogb()
|
D | HyperbolicTests.java | 345 for (int i = 10; i <= Double.MAX_EXPONENT; i++) { in testSinh() 693 for (int i = 10; i <= Double.MAX_EXPONENT; i++) { in testCosh() 977 for (int i = 5; i <= Double.MAX_EXPONENT; i++) { in testTanh()
|
D | HypotTests.java | 94 for (int i = DoubleConsts.MIN_SUB_EXPONENT; i <= Double.MAX_EXPONENT; i++) { in testHypot() 136 d = Math.scalb(d, Double.MAX_EXPONENT in testHypot()
|
D | CubeRootTests.java | 103 for (int i = 18; i <= Double.MAX_EXPONENT / 3; i++) { in testCubeRoot() 241 for (int i = 18; i <= Double.MAX_EXPONENT / 3; i++) { in testCubeRoot()
|
D | CeilAndFloorTests.java | 66 for (int i = Double.MIN_EXPONENT; i <= Double.MAX_EXPONENT; i++) { in nearIntegerTests()
|
D | Log1pTests.java | 107 for (int i = 53; i <= Double.MAX_EXPONENT; i++) { in testLog1p()
|
/libcore/ojluni/src/test/java/math/BigInteger/ |
D | PrimitiveConversionTests.java | 54 512, 513, Double.MAX_EXPONENT - 1, Double.MAX_EXPONENT, 55 Double.MAX_EXPONENT + 1, 2000, 2001, 2002)) {
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | FpUtils.java | 345 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()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Math.java | 2683 case Double.MAX_EXPONENT + 1 -> Math.abs(d); // NaN or infinity in ulp() 2686 assert exp <= Double.MAX_EXPONENT && exp >= Double.MIN_EXPONENT; in ulp() 2730 case Float.MAX_EXPONENT + 1 -> Math.abs(f); // NaN or infinity in ulp() 2733 assert exp <= Float.MAX_EXPONENT && exp >= Float.MIN_EXPONENT; in ulp() 3539 final int MAX_SCALE = Double.MAX_EXPONENT + -Double.MIN_EXPONENT + 3608 final int MAX_SCALE = Float.MAX_EXPONENT + -Float.MIN_EXPONENT + 3632 assert(n >= Double.MIN_EXPONENT && n <= Double.MAX_EXPONENT); 3642 assert(n >= Float.MIN_EXPONENT && n <= Float.MAX_EXPONENT);
|
D | Float.java | 127 public static final int MAX_EXPONENT = 127; field in Float
|
/libcore/ojluni/src/test/java/lang/Double/ |
D | ConstantsTest.java | 56 case Double.MAX_EXPONENT: // 1023 in testPublicStaticFinalFields_areConstantExpressions()
|
/libcore/ojluni/src/test/java/lang/Float/ |
D | ConstantsTest.java | 56 case Float.MAX_EXPONENT: // 127 in testPublicStaticFinalFields_areConstantExpressions()
|
/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 }; 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 …]
|
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()
|
/libcore/ojluni/src/main/java/jdk/internal/math/ |
D | FloatConsts.java | 69 public static final int MAX_EXPONENT = 127; field in FloatConsts
|
D | DoubleConsts.java | 73 public static final int MAX_EXPONENT = 1023; field in DoubleConsts
|
/libcore/ojluni/src/test/java/lang/StrictMath/ |
D | Tests.java | 62 final int EXPONENT_RANGE = Double.MAX_EXPONENT - Double.MIN_EXPONENT + 1; in createRandomDouble()
|
/libcore/ojluni/annotations/flagged_api/java/lang/ |
D | Double.annotated.java | 96 public static final int MAX_EXPONENT = 1023; // 0x3ff field in Double
|
D | Float.annotated.java | 99 public static final int MAX_EXPONENT = 127; // 0x7f field in Float
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Double.annotated.java | 95 public static final int MAX_EXPONENT = 1023; // 0x3ff field in Double
|
D | Float.annotated.java | 97 public static final int MAX_EXPONENT = 127; // 0x7f field in Float
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Float.java | 157 public static final int MAX_EXPONENT = 127; // 0x7f field in Float
|
D | Double.java | 154 public static final int MAX_EXPONENT = 1023; // 0x3ff field in Double
|