Searched refs:sinh (Results 1 - 12 of 12) sorted by relevance

/libcore/ojluni/src/main/native/
H A Djfdlibm.h56 #define sinh jsinh macro
H A DMath.c107 return sinh(d);
165 FAST_NATIVE_METHOD(Math, sinh, "(D)D"),
H A Dfdlibm.h126 extern double sinh __P((double));
H A DStrictMath.c175 NATIVE_METHOD(StrictMath, sinh, "(D)D"),
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldAndroidMathTest.java533 assertTrue("Should return NaN", Double.isNaN(Math.sinh(Double.NaN)));
535 Double.POSITIVE_INFINITY, Math.sinh(Double.POSITIVE_INFINITY), 0D);
537 Double.NEGATIVE_INFINITY, Math.sinh(Double.NEGATIVE_INFINITY), 0D);
539 .sinh(0.0)));
541 .doubleToLongBits(Math.sinh(+0.0)));
543 .doubleToLongBits(Math.sinh(-0.0)));
546 Double.POSITIVE_INFINITY, Math.sinh(1234.56), 0D);
548 Double.NEGATIVE_INFINITY, Math.sinh(-1234.56), 0D);
550 1.0000000000001666E-6, Math.sinh(0.000001), 0D);
552 -1.0000000000001666E-6, Math.sinh(
[all...]
H A DOldAndroidStrictMathTest.java510 assertTrue(Double.isNaN(StrictMath.sinh(Double.NaN)));
513 .sinh(Double.POSITIVE_INFINITY), 0D);
516 .sinh(Double.NEGATIVE_INFINITY), 0D);
518 .doubleToLongBits(StrictMath.sinh(0.0)));
520 .doubleToLongBits(StrictMath.sinh(+0.0)));
522 .doubleToLongBits(StrictMath.sinh(-0.0)));
525 Double.POSITIVE_INFINITY, StrictMath.sinh(1234.56), 0D);
527 Double.NEGATIVE_INFINITY, StrictMath.sinh(-1234.56), 0D);
529 1.0000000000001666E-6, StrictMath.sinh(0.000001), 0D);
531 -1.0000000000001666E-6, StrictMath.sinh(
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DStrictMathTest.java1359 * java.lang.StrictMath#sinh(double)
1363 assertTrue(Double.isNaN(StrictMath.sinh(Double.NaN)));
1366 .sinh(Double.POSITIVE_INFINITY), 0D);
1369 .sinh(Double.NEGATIVE_INFINITY), 0D);
1371 .doubleToLongBits(StrictMath.sinh(0.0)));
1373 .doubleToLongBits(StrictMath.sinh(+0.0)));
1375 .doubleToLongBits(StrictMath.sinh(-0.0)));
1378 Double.POSITIVE_INFINITY, StrictMath.sinh(1234.56), 0D);
1380 Double.NEGATIVE_INFINITY, StrictMath.sinh(-1234.56), 0D);
1382 1.0000000000001666E-6, StrictMath.sinh(0.00000
[all...]
H A DMathTest.java1783 * java.lang.Math#sinh(double)
1787 assertTrue(Double.isNaN(Math.sinh(Double.NaN)));
1788 assertEquals(Double.POSITIVE_INFINITY, Math.sinh(Double.POSITIVE_INFINITY), 0D);
1789 assertEquals(Double.NEGATIVE_INFINITY, Math.sinh(Double.NEGATIVE_INFINITY), 0D);
1790 assertEquals(Double.doubleToLongBits(0.0), Double.doubleToLongBits(Math.sinh(0.0)));
1791 assertEquals(Double.doubleToLongBits(+0.0), Double.doubleToLongBits(Math.sinh(+0.0)));
1792 assertEquals(Double.doubleToLongBits(-0.0), Double.doubleToLongBits(Math.sinh(-0.0)));
1794 assertEquals(Double.POSITIVE_INFINITY, Math.sinh(1234.56), 0D);
1795 assertEquals(Double.NEGATIVE_INFINITY, Math.sinh(-1234.56), 0D);
1796 assertEquals(1.0000000000001666E-6, Math.sinh(0.00000
[all...]
/libcore/ojluni/src/main/java/java/lang/
H A DStrictMath.java56 * {@code sinh}, {@code cosh}, {@code tanh},
1236 public static native double sinh(double x); method in class:StrictMath
1266 * in other words, {@linkplain Math#sinh
1267 * sinh(<i>x</i>)}/{@linkplain Math#cosh cosh(<i>x</i>)}. Note
H A DMath.java1586 public static native double sinh(double x); method in class:Math
1619 * in other words, {@linkplain Math#sinh
1620 * sinh(<i>x</i>)}/{@linkplain Math#cosh cosh(<i>x</i>)}. Note
/libcore/benchmarks/src/benchmarks/regression/
H A DStrictMathBenchmark.java341 StrictMath.sinh(d);
H A DMathBenchmark.java421 result = Math.sinh(d);

Completed in 374 milliseconds