Searched refs:log1p (Results 1 – 12 of 12) sorted by relevance
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldAndroidStrictMathTest.java | 318 .log1p(Double.NaN))); in testLog1pD() 320 .log1p(-32.0482175))); in testLog1pD() 323 .log1p(Double.POSITIVE_INFINITY)); in testLog1pD() 325 .doubleToLongBits(StrictMath.log1p(0.0))); in testLog1pD() 327 .doubleToLongBits(StrictMath.log1p(+0.0))); in testLog1pD() 329 .doubleToLongBits(StrictMath.log1p(-0.0))); in testLog1pD() 332 StrictMath.log1p(-0.254856327)); in testLog1pD() 334 StrictMath.log1p(1583.542)); in testLog1pD() 336 StrictMath.log1p(0.5894227)); in testLog1pD() 338 StrictMath.log1p(Double.MAX_VALUE)); in testLog1pD() [all …]
|
D | OldAndroidMathTest.java | 345 assertTrue("Should return NaN", Double.isNaN(Math.log1p(Double.NaN))); in testLog1pD() 346 assertTrue("Should return NaN", Double.isNaN(Math.log1p(-32.0482175))); in testLog1pD() 348 Double.POSITIVE_INFINITY, Math.log1p(Double.POSITIVE_INFINITY), 0D); in testLog1pD() 350 .log1p(0.0))); in testLog1pD() 352 .doubleToLongBits(Math.log1p(+0.0))); in testLog1pD() 354 .doubleToLongBits(Math.log1p(-0.0))); in testLog1pD() 357 Math.log1p(-0.254856327), 0D); in testLog1pD() 359 .log1p(1583.542), 0D); in testLog1pD() 361 Math.log1p(0.5894227), 0D); in testLog1pD() 363 .log1p(Double.MAX_VALUE), 0D); in testLog1pD() [all …]
|
/libcore/ojluni/src/main/native/ |
D | jfdlibm.h | 61 #define log1p jlog1p macro
|
D | fdlibm.h | 190 extern double log1p __P((double));
|
D | StrictMath.c | 178 NATIVE_METHOD(StrictMath, log1p, "(D)D"),
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StrictMathTest.java | 556 .log1p(Double.NaN))); in test_log1p_D() 558 .log1p(-32.0482175))); in test_log1p_D() 561 .log1p(Double.POSITIVE_INFINITY)); in test_log1p_D() 563 .doubleToLongBits(StrictMath.log1p(0.0))); in test_log1p_D() 565 .doubleToLongBits(StrictMath.log1p(+0.0))); in test_log1p_D() 567 .doubleToLongBits(StrictMath.log1p(-0.0))); in test_log1p_D() 570 StrictMath.log1p(-0.254856327)); in test_log1p_D() 572 StrictMath.log1p(1583.542)); in test_log1p_D() 574 StrictMath.log1p(0.5894227)); in test_log1p_D() 576 StrictMath.log1p(Double.MAX_VALUE)); in test_log1p_D() [all …]
|
D | MathTest.java | 583 assertTrue("Should return NaN", Double.isNaN(Math.log1p(Double.NaN))); in test_log1p_D() 584 assertTrue("Should return NaN", Double.isNaN(Math.log1p(-32.0482175))); in test_log1p_D() 586 Double.POSITIVE_INFINITY, Math.log1p(Double.POSITIVE_INFINITY), 0D); in test_log1p_D() 588 .log1p(0.0))); in test_log1p_D() 590 .doubleToLongBits(Math.log1p(+0.0))); in test_log1p_D() 592 .doubleToLongBits(Math.log1p(-0.0))); in test_log1p_D() 595 Math.log1p(-0.254856327), 0D); in test_log1p_D() 597 .log1p(1583.542), 0D); in test_log1p_D() 599 Math.log1p(0.5894227), 0D); in test_log1p_D() 601 .log1p(Double.MAX_VALUE), 0D); in test_log1p_D() [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StrictMath.java | 1482 public static native double log1p(double x); in log1p() method in StrictMath
|
D | Math.java | 1906 public static native double log1p(double x); in log1p() method in Math
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | StrictMathBenchmark.java | 203 StrictMath.log1p(d); in timeLog1p()
|
D | MathBenchmark.java | 237 result = Math.log1p(d); in timeLog1p()
|
/libcore/luni/src/test/resources/ |
D | math_java_only.csv | 93 log1p,NaN,-0x1.8ec3beb2d4185p1023 94 log1p,NaN,-0x1.a49ea827e7d05p1023 95 log1p,NaN,-0x1.47afe754a89fep1021 96 log1p,NaN,-0x1.ea33b08c7fbfbp1022 97 log1p,0x1.62a857235842dp9,0x1.40c8f2c416881p1023 98 log1p,NaN,-0x1.d2762c5e7c22bp1022 99 log1p,0x1.61dfe7df97bep9,0x1.0c0c8b67b7daep1021 100 log1p,NaN,-0x1.800e50b80ea85p1023 101 log1p,0x1.61cc940b2d36ap9,0x1.ccf6eeb86909cp1020 102 log1p,NaN,-0x1.6d6d5ccb7231fp1022 [all …]
|