Home
last modified time | relevance | path

Searched refs:MIN_EXPONENT (Results 1 – 25 of 30) sorted by relevance

12

/libcore/ojluni/src/main/java/sun/misc/
DFpUtils.java351 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/
DIeeeRecommendedTests.java144 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 …]
DTests.java99 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()
DCeilAndFloorTests.java66 for (int i = Double.MIN_EXPONENT; i <= Double.MAX_EXPONENT; i++) { in nearIntegerTests()
/libcore/ojluni/src/main/java/jdk/internal/math/
DDoubleConsts.java28 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
DFloatConsts.java28 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/
DImplicitStringConcatBoundaries.java126 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/
DTests.java62 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/
DMath.java2684 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 …]
DFloat.java136 public static final int MIN_EXPONENT = -126; field in Float
326 Double.MIN_EXPONENT- in toHexString()
327 Float.MIN_EXPONENT)); in toHexString()
DDouble.java226 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/
DMathTest.java421 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 …]
DStrictMathTest.java1015 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()
DFloatTest.java1081 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/
DConstantsTest.java53 case Double.MIN_EXPONENT: // -1022 in testPublicStaticFinalFields_areConstantExpressions()
DToHexStringTest.java94 if (exponent == Double.MIN_EXPONENT - 1) { // zero or subnormal in hexLongStringtoHexDoubleString()
DParseHexFloatingPointTest.java156 2*Double.MIN_EXPONENT, in testDouble()
/libcore/ojluni/src/test/java/lang/Float/
DConstantsTest.java53 case Float.MIN_EXPONENT: // -126 in testPublicStaticFinalFields_areConstantExpressions()
/libcore/ojluni/annotations/flagged_api/java/lang/
DDouble.annotated.java100 public static final int MIN_EXPONENT = -1022; // 0xfffffc02 field in Double
DFloat.annotated.java103 public static final int MIN_EXPONENT = -126; // 0xffffff82 field in Float
/libcore/ojluni/annotations/hiddenapi/java/lang/
DFloat.java161 public static final int MIN_EXPONENT = -126; // 0xffffff82 field in Float
DDouble.java158 public static final int MIN_EXPONENT = -1022; // 0xfffffc02 field in Double
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DDouble.annotated.java99 public static final int MIN_EXPONENT = -1022; // 0xfffffc02 field in Double
DFloat.annotated.java101 public static final int MIN_EXPONENT = -126; // 0xffffff82 field in Float
/libcore/luni/src/main/java/libcore/util/
DFP16.java125 public static final int MIN_EXPONENT = -14; field in FP16

12