Searched refs:tanh (Results 1 - 12 of 12) sorted by relevance
/libcore/ojluni/src/main/native/ |
H A D | jfdlibm.h | 58 #define tanh jtanh macro
|
H A D | Math.c | 114 return tanh(d); 170 NATIVE_METHOD(Math, tanh, "!(D)D"),
|
H A D | fdlibm.h | 127 extern double tanh __P((double));
|
H A D | StrictMath.c | 176 NATIVE_METHOD(StrictMath, tanh, "(D)D"),
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldAndroidMathTest.java | 535 assertTrue("Should return NaN", Double.isNaN(Math.tanh(Double.NaN))); 537 .tanh(Double.POSITIVE_INFINITY), 0D); 539 .tanh(Double.NEGATIVE_INFINITY), 0D); 541 .tanh(0.0))); 543 .doubleToLongBits(Math.tanh(+0.0))); 545 .doubleToLongBits(Math.tanh(-0.0))); 547 assertEquals("Should return 1.0", 1.0, Math.tanh(1234.56), 0D); 548 assertEquals("Should return -1.0", -1.0, Math.tanh(-1234.56), 0D); 550 9.999999999996666E-7, Math.tanh(0.000001), 0D); 552 .tanh(2.3348 [all...] |
H A D | OldAndroidStrictMathTest.java | 557 assertTrue(Double.isNaN(StrictMath.tanh(Double.NaN))); 559 .tanh(Double.POSITIVE_INFINITY), 0D); 561 .tanh(Double.NEGATIVE_INFINITY), 0D); 563 .doubleToLongBits(StrictMath.tanh(0.0))); 565 .doubleToLongBits(StrictMath.tanh(+0.0))); 567 .doubleToLongBits(StrictMath.tanh(-0.0))); 569 assertEquals("Should return 1.0", 1.0, StrictMath.tanh(1234.56), 0D); 570 assertEquals("Should return -1.0", -1.0, StrictMath.tanh(-1234.56), 0D); 572 9.999999999996666E-7, StrictMath.tanh(0.000001), 0D); 574 StrictMath.tanh(2.3348 [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | StrictMathTest.java | 1415 * java.lang.StrictMath#tanh(double) 1419 assertTrue(Double.isNaN(StrictMath.tanh(Double.NaN))); 1421 .tanh(Double.POSITIVE_INFINITY), 0D); 1423 .tanh(Double.NEGATIVE_INFINITY), 0D); 1425 .doubleToLongBits(StrictMath.tanh(0.0))); 1427 .doubleToLongBits(StrictMath.tanh(+0.0))); 1429 .doubleToLongBits(StrictMath.tanh(-0.0))); 1431 assertEquals("Should return 1.0", 1.0, StrictMath.tanh(1234.56), 0D); 1432 assertEquals("Should return -1.0", -1.0, StrictMath.tanh(-1234.56), 0D); 1434 9.999999999996666E-7, StrictMath.tanh(0.00000 [all...] |
H A D | MathTest.java | 1822 * java.lang.Math#tanh(double) 1826 assertTrue("Should return NaN", Double.isNaN(Math.tanh(Double.NaN))); 1828 .tanh(Double.POSITIVE_INFINITY), 0D); 1830 .tanh(Double.NEGATIVE_INFINITY), 0D); 1832 .tanh(0.0))); 1834 .doubleToLongBits(Math.tanh(+0.0))); 1836 .doubleToLongBits(Math.tanh(-0.0))); 1838 assertEquals("Should return 1.0", 1.0, Math.tanh(1234.56), 0D); 1839 assertEquals("Should return -1.0", -1.0, Math.tanh(-1234.56), 0D); 1841 9.999999999996666E-7, Math.tanh(0.00000 [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
H A D | StrictMath.java | 57 * {@code sinh}, {@code cosh}, {@code tanh}, 1290 * that the absolute value of the exact tanh is always less than 1313 public static native double tanh(double x); method in class:StrictMath
|
H A D | Math.java | 1510 * that the absolute value of the exact tanh is always less than 1530 * The result of {@code tanh} for any finite input must have 1532 * exact result of tanh is within 1/2 of an ulp of the limit value 1540 public static native double tanh(double x); method in class:Math
|
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | StrictMathBenchmark.java | 359 StrictMath.tanh(d);
|
H A D | MathBenchmark.java | 445 result = Math.tanh(d);
|
Completed in 301 milliseconds