/libcore/ojluni/src/test/java/lang/Math/ |
D | IeeeRecommendedTests.java | 138 +Float.MIN_NORMAL, in testFloatGetExponent() 235 +Double.MIN_NORMAL, in testDoubleGetExponent() 388 {Float.MIN_NORMAL, infinityF, Float.MIN_NORMAL + in testFloatNextAfter() 390 {Float.MIN_NORMAL, -infinityF, Float_MAX_SUBNORMAL}, in testFloatNextAfter() 391 {Float.MIN_NORMAL, 1.0f, Float.MIN_NORMAL + in testFloatNextAfter() 393 {Float.MIN_NORMAL, -1.0f, Float_MAX_SUBNORMAL}, in testFloatNextAfter() 394 {Float.MIN_NORMAL, Float.MIN_NORMAL, Float.MIN_NORMAL}, in testFloatNextAfter() 396 {Float_MAX_SUBNORMAL, Float.MIN_NORMAL, Float.MIN_NORMAL}, in testFloatNextAfter() 456 {Double.MIN_NORMAL, infinityD, Double.MIN_NORMAL + in testDoubleNextAfter() 458 {Double.MIN_NORMAL, -infinityD, Double_MAX_SUBNORMAL}, in testDoubleNextAfter() [all …]
|
D | CeilAndFloorTests.java | 137 {Math.nextDown(Double.MIN_NORMAL), 1.0}, in roundingTests() 138 {-Math.nextDown(Double.MIN_NORMAL), -0.0}, in roundingTests() 139 {Double.MIN_NORMAL, 1.0}, in roundingTests() 140 {-Double.MIN_NORMAL, -0.0}, in roundingTests()
|
D | Rint.java | 51 {Math.nextDown(Double.MIN_NORMAL), 0.0}, in testRint() 52 {Double.MIN_NORMAL, 0.0}, in testRint()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | MathTest.java | 157 Double.MIN_NORMAL, Double.MIN_NORMAL / 2, Double.MIN_VALUE, +0.0, 158 0.0, -0.0, -Double.MIN_VALUE, -Double.MIN_NORMAL / 2, 159 -Double.MIN_NORMAL, -4.5, -3.4E102, -Double.MAX_VALUE, 229 Float.MIN_NORMAL, Float.MIN_NORMAL / 2, Float.MIN_VALUE, +0.0f, 230 0.0f, -0.0f, -Float.MIN_VALUE, -Float.MIN_NORMAL / 2, 231 -Float.MIN_NORMAL, -4.5f, -5.6442E21f, -Float.MAX_VALUE, 410 -0.323, Double.MIN_NORMAL * 24, -Double.MIN_NORMAL * 24, 411 Double.MIN_NORMAL, -Double.MIN_NORMAL, Double.MIN_NORMAL / 2, 412 -Double.MIN_NORMAL / 2, Double.MIN_VALUE, -Double.MIN_VALUE, +0.0, 456 Float.MIN_NORMAL * 24, -Float.MIN_NORMAL * 24, Float.MIN_NORMAL, [all …]
|
D | StrictMathTest.java | 1011 assertEquals(2.0, StrictMath.scalb(Double.MIN_NORMAL / 2, 1024)); in test_scalb_DI() 1041 Double.MIN_NORMAL / 2, 4000)); in test_scalb_DI() 1088 assertEquals(Double.MIN_VALUE, StrictMath.scalb(Double.MIN_NORMAL, -52)); in test_scalb_DI() 1090 Double.MIN_NORMAL, -53))); in test_scalb_DI() 1092 -Double.MIN_NORMAL, -53))); in test_scalb_DI() 1099 assertEquals(Double.MIN_VALUE, StrictMath.scalb(Double.MIN_NORMAL / 3, in test_scalb_DI() 1102 Double.MIN_NORMAL / 3, -52))); in test_scalb_DI() 1104 -Double.MIN_NORMAL / 3, -52))); in test_scalb_DI() 1105 double subnormal = StrictMath.scalb(Double.MIN_NORMAL / 3, -25); in test_scalb_DI() 1108 assertFalse(Double.MIN_NORMAL / 3 == StrictMath.scalb(subnormal, 25)); in test_scalb_DI() [all …]
|
D | FloatTest.java | 1083 Float.MIN_EXPONENT == Math.getExponent(Float.MIN_NORMAL)); in test_MIN_EXPONENT() 1092 Float.MIN_NORMAL == 0x1.0p-126f); in test_MIN_NORMAL() 1094 Float.MIN_NORMAL == Float.intBitsToFloat(0x00800000)); in test_MIN_NORMAL() 1096 Float.MIN_NORMAL == 1.1754943508222875E-38f); in test_MIN_NORMAL()
|
/libcore/luni/src/test/java/libcore/libcore/util/ |
D | FP16Test.java | 103 assertEquals("0x1.0p-14", toHexString(MIN_NORMAL)); in testHexString() 142 assertTrue(FP16.isNormalized(MIN_NORMAL)); in testIsNormalized() 160 assertEquals(1.0f, toFloat(FP16.ceil(MIN_NORMAL)), 0.0f); in testCeil() 200 assertEquals(POSITIVE_ZERO, FP16.floor(MIN_NORMAL)); in testFloor() 277 assertTrue(FP16.less(MIN_VALUE, MIN_NORMAL)); in testLess() 278 assertFalse(FP16.less(MIN_NORMAL, MIN_VALUE)); in testLess() 296 assertTrue(FP16.lessEquals(MIN_VALUE, MIN_NORMAL)); in testLessEquals() 297 assertFalse(FP16.lessEquals(MIN_NORMAL, MIN_VALUE)); in testLessEquals() 319 assertTrue(FP16.greater(MIN_NORMAL, MIN_VALUE)); in testGreater() 320 assertFalse(FP16.greater(MIN_VALUE, MIN_NORMAL)); in testGreater() [all …]
|
/libcore/ojluni/src/test/java/lang/String/concat/ |
D | ImplicitStringConcatBoundaries.java | 128 public static final float FLOAT_MIN_NORM_1 = Float.MIN_NORMAL; 129 public static float FLOAT_MIN_NORM_2 = Float.MIN_NORMAL; 142 public static final double DOUBLE_MIN_NORM_1 = Double.MIN_NORMAL; 143 public static double DOUBLE_MIN_NORM_2 = Double.MIN_NORMAL;
|
/libcore/ojluni/src/test/java/lang/Double/ |
D | ParseHexFloatingPointTest.java | 223 new PairSD("0x0.fffffffffffff7fffffp-1022", Math.nextDown(Double.MIN_NORMAL)), in testDouble() 224 new PairSD("0x0.fffffffffffff8p-1022", Double.MIN_NORMAL), in testDouble() 225 new PairSD("0x0.fffffffffffff800000001p-1022",Double.MIN_NORMAL), in testDouble() 226 new PairSD("0x0.fffffffffffff80000000000000001p-1022",Double.MIN_NORMAL), in testDouble() 227 new PairSD("0x1.0p-1022", Double.MIN_NORMAL), in testDouble()
|
D | ExtremaTest.java | 41 Assert.assertEquals(Double.longBitsToDouble(0x0010000000000000L), Double.MIN_NORMAL, in testExtremalValues()
|
D | ConstantsTest.java | 50 case (int)Double.MIN_NORMAL + 2: // 0 + 2 in testPublicStaticFinalFields_areConstantExpressions()
|
/libcore/ojluni/src/test/java/lang/StrictMath/ |
D | ExpTests.java | 107 Double.MIN_NORMAL - Math.ulp(Double.MIN_NORMAL) * 512, in testAgainstTranslit()
|
/libcore/ojluni/src/test/java/lang/Float/ |
D | ExtremaTest.java | 41 Assert.assertEquals(Float.intBitsToFloat(0x00800000), Float.MIN_NORMAL, in testExtremalValues()
|
D | ConstantsTest.java | 50 case (int)Float.MIN_NORMAL + 2: // 0 + 2 in testPublicStaticFinalFields_areConstantExpressions()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Float.java | 110 public static final float MIN_NORMAL = 0x1.0p-126f; // 1.17549435E-38f field in Float 319 if (Math.abs(f) < Float.MIN_NORMAL in toHexString()
|
D | Double.java | 199 public static final double MIN_NORMAL = 0x1.0p-1022; // 2.2250738585072014E-308 field in Double 427 boolean subnormal = (d < Double.MIN_NORMAL); in toHexString()
|
/libcore/ojluni/src/main/java/jdk/internal/math/ |
D | DoubleConsts.java | 59 public static final double MIN_NORMAL = 2.2250738585072014E-308; field in DoubleConsts
|
D | FloatConsts.java | 56 public static final float MIN_NORMAL = 1.17549435E-38f; field in FloatConsts
|
/libcore/ojluni/annotations/flagged_api/java/lang/ |
D | Double.annotated.java | 102 public static final double MIN_NORMAL = 2.2250738585072014E-308; field in Double
|
D | Float.annotated.java | 105 public static final float MIN_NORMAL = 1.17549435E-38f; field in Float
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Float.java | 163 public static final float MIN_NORMAL = 1.17549435E-38f; field in Float
|
D | Double.java | 160 public static final double MIN_NORMAL = 2.2250738585072014E-308; field in Double
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Double.annotated.java | 101 public static final double MIN_NORMAL = 2.2250738585072014E-308; field in Double
|
D | Float.annotated.java | 103 public static final float MIN_NORMAL = 1.17549435E-38f; field in Float
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | JniTest.java | 297 Float.MAX_VALUE, Float.MIN_VALUE, Float.MIN_NORMAL, Float.NaN, in testPassingFloats() 328 Float.MAX_VALUE, Float.MIN_VALUE, Float.MIN_NORMAL, Float.NaN, in testPassingDoubles() 330 … Double.MAX_VALUE, Double.MIN_VALUE, Double.MIN_NORMAL, Double.NaN, in testPassingDoubles()
|