Home
last modified time | relevance | path

Searched refs:expm1 (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/resources/
Dmath_java_only.csv33 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/
DOldAndroidStrictMathTest.java190 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 …]
DOldAndroidMathTest.java236 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/
Djfdlibm.h62 #define expm1 jexpm1 macro
Dfdlibm.h189 extern double expm1 __P((double));
DStrictMath.c179 NATIVE_METHOD(StrictMath, expm1, "(D)D"),
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStrictMathTest.java369 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 …]
DMathTest.java350 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/
DStrictMath.java1451 public static native double expm1(double x); in expm1() method in StrictMath
DMath.java1870 public static native double expm1(double x); in expm1() method in Math
/libcore/benchmarks/src/benchmarks/regression/
DStrictMathBenchmark.java153 StrictMath.expm1(d); in timeExpm1()
DMathBenchmark.java173 result = Math.expm1(d); in timeExpm1()