/libcore/ojluni/src/main/java/sun/misc/ |
D | FpUtils.java | 351 case DoubleConsts.MIN_EXPONENT-1: // zero or subnormal in ilogb() 381 DoubleConsts.MIN_EXPONENT - (DoubleConsts.SIGNIFICAND_WIDTH-1) && in ilogb() 382 exponent < DoubleConsts.MIN_EXPONENT); in ilogb() 387 assert( exponent >= DoubleConsts.MIN_EXPONENT && in ilogb() 421 case FloatConsts.MIN_EXPONENT-1: // zero or subnormal in ilogb() 451 FloatConsts.MIN_EXPONENT - (FloatConsts.SIGNIFICAND_WIDTH-1) && in ilogb() 452 exponent < FloatConsts.MIN_EXPONENT); in ilogb() 457 assert( exponent >= FloatConsts.MIN_EXPONENT && in ilogb()
|
/libcore/ojluni/src/test/java/lang/Math/ |
D | IeeeRecommendedTests.java | 144 Float.MIN_EXPONENT - 1, // Zero results in testFloatGetExponent() 148 Float.MIN_EXPONENT - 1, in testFloatGetExponent() 150 Float.MIN_EXPONENT, in testFloatGetExponent() 160 for (int i = Float.MIN_EXPONENT; i <= Float.MAX_EXPONENT; i++) { in testFloatGetExponent() 181 if (i > Float.MIN_EXPONENT) { in testFloatGetExponent() 203 testGetExponentCase(top, Float.MIN_EXPONENT - 1); in testFloatGetExponent() 208 testGetExponentCase(Math.nextAfter(top, 0.0f), Float.MIN_EXPONENT - 1); in testFloatGetExponent() 219 testGetExponentCase(randFloat, Float.MIN_EXPONENT - 1); in testFloatGetExponent() 241 Double.MIN_EXPONENT - 1, // Zero results in testDoubleGetExponent() 245 Double.MIN_EXPONENT - 1, in testDoubleGetExponent() [all …]
|
D | Tests.java | 99 case Double.MIN_EXPONENT - 1: // zero or subnormal in ilogb() 128 Double.MIN_EXPONENT - (DoubleConsts.SIGNIFICAND_WIDTH - 1) && in ilogb() 129 exponent < Double.MIN_EXPONENT); in ilogb() 134 Assert.assertTrue(exponent >= Double.MIN_EXPONENT && in ilogb() 168 case Float.MIN_EXPONENT - 1: // zero or subnormal in ilogb() 197 Float.MIN_EXPONENT - (FloatConsts.SIGNIFICAND_WIDTH - 1) && in ilogb() 198 exponent < Float.MIN_EXPONENT); in ilogb() 203 Assert.assertTrue(exponent >= Float.MIN_EXPONENT && in ilogb()
|
D | CeilAndFloorTests.java | 66 for (int i = Double.MIN_EXPONENT; i <= Double.MAX_EXPONENT; i++) { in nearIntegerTests()
|
/libcore/ojluni/src/main/java/jdk/internal/math/ |
D | DoubleConsts.java | 28 import static java.lang.Double.MIN_EXPONENT; 80 public static final int MIN_EXPONENT = -1022; field in DoubleConsts 87 MIN_EXPONENT - (SIGNIFICAND_WIDTH - 1); // -1074
|
D | FloatConsts.java | 28 import static java.lang.Float.MIN_EXPONENT; 76 public static final int MIN_EXPONENT = -126; field in FloatConsts 83 MIN_EXPONENT - (SIGNIFICAND_WIDTH - 1); // -149
|
/libcore/ojluni/src/test/java/lang/String/concat/ |
D | ImplicitStringConcatBoundaries.java | 126 public static final float FLOAT_MIN_EXP_1 = Float.MIN_EXPONENT; 127 public static float FLOAT_MIN_EXP_2 = Float.MIN_EXPONENT; 140 public static final double DOUBLE_MIN_EXP_1 = Double.MIN_EXPONENT; 141 public static double DOUBLE_MIN_EXP_2 = Double.MIN_EXPONENT;
|
/libcore/ojluni/src/test/java/lang/StrictMath/ |
D | Tests.java | 62 final int EXPONENT_RANGE = Double.MAX_EXPONENT - Double.MIN_EXPONENT + 1; in createRandomDouble() 64 int targetExponent = Double.MIN_EXPONENT + random.nextInt(EXPONENT_RANGE + 1); in createRandomDouble()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Math.java | 2684 case Double.MIN_EXPONENT - 1 -> Double.MIN_VALUE; // zero or subnormal in ulp() 2686 assert exp <= Double.MAX_EXPONENT && exp >= Double.MIN_EXPONENT; in ulp() 2690 if (exp >= Double.MIN_EXPONENT) { in ulp() 2697 (exp - (Double.MIN_EXPONENT - (DoubleConsts.SIGNIFICAND_WIDTH - 1)))); in ulp() 2731 case Float.MIN_EXPONENT - 1 -> Float.MIN_VALUE; // zero or subnormal in ulp() 2733 assert exp <= Float.MAX_EXPONENT && exp >= Float.MIN_EXPONENT; in ulp() 2737 if (exp >= Float.MIN_EXPONENT) { in ulp() 2744 (exp - (Float.MIN_EXPONENT - (FloatConsts.SIGNIFICAND_WIDTH - 1)))); in ulp() 3539 final int MAX_SCALE = Double.MAX_EXPONENT + -Double.MIN_EXPONENT + 3608 final int MAX_SCALE = Float.MAX_EXPONENT + -Float.MIN_EXPONENT + [all …]
|
D | Float.java | 136 public static final int MIN_EXPONENT = -126; field in Float 326 Double.MIN_EXPONENT- in toHexString() 327 Float.MIN_EXPONENT)); in toHexString()
|
D | Double.java | 226 public static final int MIN_EXPONENT = -1022; field in Double 455 Double.MIN_EXPONENT: in toHexString()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | MathTest.java | 421 0, 0, -1, -1, -2, -2, -1018, -1018, Double.MIN_EXPONENT, 422 Double.MIN_EXPONENT, Double.MIN_EXPONENT - 1, 423 Double.MIN_EXPONENT - 1, Double.MIN_EXPONENT - 1, 424 Double.MIN_EXPONENT - 1, Double.MIN_EXPONENT - 1, 425 Double.MIN_EXPONENT - 1, Double.MIN_EXPONENT - 1, 466 -122, -122, Float.MIN_EXPONENT, Float.MIN_EXPONENT, 467 Float.MIN_EXPONENT - 1, Float.MIN_EXPONENT - 1, 468 Float.MIN_EXPONENT - 1, Float.MIN_EXPONENT - 1, 469 Float.MIN_EXPONENT - 1, Float.MIN_EXPONENT - 1, 470 Float.MIN_EXPONENT - 1, Float.MAX_EXPONENT + 1, 0, Float.MIN_EXPONENT }; [all …]
|
D | StrictMathTest.java | 1015 Double.MIN_EXPONENT)); in test_scalb_DI() 1053 Double.NEGATIVE_INFINITY, Double.MIN_EXPONENT)); in test_scalb_DI() 1169 Float.MIN_EXPONENT)); in test_scalb_FI() 1206 Float.NEGATIVE_INFINITY, Float.MIN_EXPONENT)); in test_scalb_FI()
|
D | FloatTest.java | 1081 Float.MIN_EXPONENT == -126); in test_MIN_EXPONENT() 1083 Float.MIN_EXPONENT == Math.getExponent(Float.MIN_NORMAL)); in test_MIN_EXPONENT()
|
/libcore/ojluni/src/test/java/lang/Double/ |
D | ConstantsTest.java | 53 case Double.MIN_EXPONENT: // -1022 in testPublicStaticFinalFields_areConstantExpressions()
|
D | ToHexStringTest.java | 94 if (exponent == Double.MIN_EXPONENT - 1) { // zero or subnormal in hexLongStringtoHexDoubleString()
|
D | ParseHexFloatingPointTest.java | 156 2*Double.MIN_EXPONENT, in testDouble()
|
/libcore/ojluni/src/test/java/lang/Float/ |
D | ConstantsTest.java | 53 case Float.MIN_EXPONENT: // -126 in testPublicStaticFinalFields_areConstantExpressions()
|
/libcore/ojluni/annotations/flagged_api/java/lang/ |
D | Double.annotated.java | 100 public static final int MIN_EXPONENT = -1022; // 0xfffffc02 field in Double
|
D | Float.annotated.java | 103 public static final int MIN_EXPONENT = -126; // 0xffffff82 field in Float
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Float.java | 161 public static final int MIN_EXPONENT = -126; // 0xffffff82 field in Float
|
D | Double.java | 158 public static final int MIN_EXPONENT = -1022; // 0xfffffc02 field in Double
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Double.annotated.java | 99 public static final int MIN_EXPONENT = -1022; // 0xfffffc02 field in Double
|
D | Float.annotated.java | 101 public static final int MIN_EXPONENT = -126; // 0xffffff82 field in Float
|
/libcore/luni/src/main/java/libcore/util/ |
D | FP16.java | 125 public static final int MIN_EXPONENT = -14; field in FP16
|