/libcore/luni/src/test/resources/ |
D | math_java_only.csv | 33 expm1,-0x1.0p0,-0x1.8ec3beb2d4185p1023 34 expm1,-0x1.0p0,-0x1.a49ea827e7d05p1023 35 expm1,-0x1.0p0,-0x1.47afe754a89fep1021 36 expm1,-0x1.0p0,-0x1.ea33b08c7fbfbp1022 37 expm1,Infinity,0x1.40c8f2c416881p1023 38 expm1,-0x1.0p0,-0x1.d2762c5e7c22bp1022 39 expm1,Infinity,0x1.0c0c8b67b7daep1021 40 expm1,-0x1.0p0,-0x1.800e50b80ea85p1023 41 expm1,Infinity,0x1.ccf6eeb86909cp1020 42 expm1,-0x1.0p0,-0x1.6d6d5ccb7231fp1022 [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldAndroidStrictMathTest.java | 190 assertTrue("Should return NaN", Double.isNaN(StrictMath.expm1(Double.NaN))); in testExpm1D() 192 Double.POSITIVE_INFINITY, StrictMath.expm1(Double.POSITIVE_INFINITY)); in testExpm1D() 194 .expm1(Double.NEGATIVE_INFINITY)); in testExpm1D() 196 .doubleToLongBits(StrictMath.expm1(0.0))); in testExpm1D() 198 .doubleToLongBits(StrictMath.expm1(+0.0))); in testExpm1D() 200 .doubleToLongBits(StrictMath.expm1(-0.0))); in testExpm1D() 203 -9.999950000166666E-6, StrictMath.expm1(-0.00001)); in testExpm1D() 205 1.0145103074469635E60, StrictMath.expm1(138.16951162)); in testExpm1D() 208 .expm1(123456789123456789123456789.4521584223)); in testExpm1D() 210 Double.POSITIVE_INFINITY, StrictMath.expm1(Double.MAX_VALUE)); in testExpm1D() [all …]
|
D | OldAndroidMathTest.java | 236 assertTrue("Should return NaN", Double.isNaN(Math.expm1(Double.NaN))); in testExpm1D() 238 Double.POSITIVE_INFINITY, Math.expm1(Double.POSITIVE_INFINITY), 0D); in testExpm1D() 240 .expm1(Double.NEGATIVE_INFINITY), 0D); in testExpm1D() 242 .expm1(0.0))); in testExpm1D() 244 .doubleToLongBits(Math.expm1(+0.0))); in testExpm1D() 246 .doubleToLongBits(Math.expm1(-0.0))); in testExpm1D() 249 -9.999950000166666E-6, Math.expm1(-0.00001), 0D); in testExpm1D() 251 1.0145103074469635E60, Math.expm1(138.16951162), 0D); in testExpm1D() 254 .expm1(123456789123456789123456789.4521584223), 0D); in testExpm1D() 256 Double.POSITIVE_INFINITY, Math.expm1(Double.MAX_VALUE), 0D); in testExpm1D() [all …]
|
/libcore/ojluni/src/main/native/ |
D | jfdlibm.h | 62 #define expm1 jexpm1 macro
|
D | fdlibm.h | 189 extern double expm1 __P((double));
|
D | StrictMath.c | 179 NATIVE_METHOD(StrictMath, expm1, "(D)D"),
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StrictMathTest.java | 369 assertTrue("Should return NaN", Double.isNaN(StrictMath.expm1(Double.NaN))); in test_expm1_D() 371 Double.POSITIVE_INFINITY, StrictMath.expm1(Double.POSITIVE_INFINITY)); in test_expm1_D() 373 .expm1(Double.NEGATIVE_INFINITY)); in test_expm1_D() 375 .doubleToLongBits(StrictMath.expm1(0.0))); in test_expm1_D() 377 .doubleToLongBits(StrictMath.expm1(+0.0))); in test_expm1_D() 379 .doubleToLongBits(StrictMath.expm1(-0.0))); in test_expm1_D() 382 -9.999950000166666E-6, StrictMath.expm1(-0.00001)); in test_expm1_D() 384 1.0145103074469635E60, StrictMath.expm1(138.16951162)); in test_expm1_D() 387 .expm1(123456789123456789123456789.4521584223)); in test_expm1_D() 389 Double.POSITIVE_INFINITY, StrictMath.expm1(Double.MAX_VALUE)); in test_expm1_D() [all …]
|
D | MathTest.java | 350 assertTrue("Should return NaN", Double.isNaN(Math.expm1(Double.NaN))); in test_expm1_D() 352 Double.POSITIVE_INFINITY, Math.expm1(Double.POSITIVE_INFINITY), 0D); in test_expm1_D() 354 .expm1(Double.NEGATIVE_INFINITY), 0D); in test_expm1_D() 356 .expm1(0.0))); in test_expm1_D() 358 .doubleToLongBits(Math.expm1(+0.0))); in test_expm1_D() 360 .doubleToLongBits(Math.expm1(-0.0))); in test_expm1_D() 363 -9.999950000166666E-6, Math.expm1(-0.00001), 0D); in test_expm1_D() 365 1.0145103074469635E60, Math.expm1(138.16951162), 0D); in test_expm1_D() 368 .expm1(123456789123456789123456789.4521584223), 0D); in test_expm1_D() 370 Double.POSITIVE_INFINITY, Math.expm1(Double.MAX_VALUE), 0D); in test_expm1_D() [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StrictMath.java | 1451 public static native double expm1(double x); in expm1() method in StrictMath
|
D | Math.java | 1870 public static native double expm1(double x); in expm1() method in Math
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | StrictMathBenchmark.java | 153 StrictMath.expm1(d); in timeExpm1()
|
D | MathBenchmark.java | 173 result = Math.expm1(d); in timeExpm1()
|