Home
last modified time | relevance | path

Searched refs:MIN_NORMAL (Results 1 – 25 of 31) sorted by relevance

12

/libcore/ojluni/src/test/java/lang/Math/
DIeeeRecommendedTests.java138 +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 …]
DCeilAndFloorTests.java137 {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()
DRint.java51 {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/
DMathTest.java157 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 …]
DStrictMathTest.java1011 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 …]
DFloatTest.java1083 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/
DFP16Test.java103 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/
DImplicitStringConcatBoundaries.java128 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/
DParseHexFloatingPointTest.java223 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()
DExtremaTest.java41 Assert.assertEquals(Double.longBitsToDouble(0x0010000000000000L), Double.MIN_NORMAL, in testExtremalValues()
DConstantsTest.java50 case (int)Double.MIN_NORMAL + 2: // 0 + 2 in testPublicStaticFinalFields_areConstantExpressions()
/libcore/ojluni/src/test/java/lang/StrictMath/
DExpTests.java107 Double.MIN_NORMAL - Math.ulp(Double.MIN_NORMAL) * 512, in testAgainstTranslit()
/libcore/ojluni/src/test/java/lang/Float/
DExtremaTest.java41 Assert.assertEquals(Float.intBitsToFloat(0x00800000), Float.MIN_NORMAL, in testExtremalValues()
DConstantsTest.java50 case (int)Float.MIN_NORMAL + 2: // 0 + 2 in testPublicStaticFinalFields_areConstantExpressions()
/libcore/ojluni/src/main/java/java/lang/
DFloat.java110 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()
DDouble.java199 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/
DDoubleConsts.java59 public static final double MIN_NORMAL = 2.2250738585072014E-308; field in DoubleConsts
DFloatConsts.java56 public static final float MIN_NORMAL = 1.17549435E-38f; field in FloatConsts
/libcore/ojluni/annotations/flagged_api/java/lang/
DDouble.annotated.java102 public static final double MIN_NORMAL = 2.2250738585072014E-308; field in Double
DFloat.annotated.java105 public static final float MIN_NORMAL = 1.17549435E-38f; field in Float
/libcore/ojluni/annotations/hiddenapi/java/lang/
DFloat.java163 public static final float MIN_NORMAL = 1.17549435E-38f; field in Float
DDouble.java160 public static final double MIN_NORMAL = 2.2250738585072014E-308; field in Double
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DDouble.annotated.java101 public static final double MIN_NORMAL = 2.2250738585072014E-308; field in Double
DFloat.annotated.java103 public static final float MIN_NORMAL = 1.17549435E-38f; field in Float
/libcore/luni/src/test/java/libcore/dalvik/system/
DJniTest.java297 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()

12