/libcore/luni/src/test/resources/ |
D | math_important_numbers.csv | 424 sinh,0x1.e2d3246d48e6fp2,0x1.5bf0a8b145769p1,2.718281828459045 425 sinh,-0x1.e2d3246d48e6fp2,-0x1.5bf0a8b145769p1,-2.718281828459045 426 sinh,0x0.0p0,0x0.0p0,0.0 427 sinh,-0x0.0p0,-0x0.0p0,-0.0 428 sinh,0x1.2cd9fc44eb982p0,0x1.0p0,1.0 429 sinh,-0x1.2cd9fc44eb982p0,-0x1.0p0,-1.0 430 sinh,-0x1.0acd00fe63b97p-1,-0x1.0p-1,-0.5 431 sinh,0x1.0acd00fe63b97p-1,0x1.0p-1,0.5 432 sinh,-0x1.0bbeb1603926ap8,-0x1.921fb54442d18p2,-6.283185307179586 433 sinh,-0x1.9c25a07506b44p7,-0x1.815e630c155e1p2,-6.021385919380436 [all …]
|
D | math_tests.csv | 5139 sinh,0x1.e2d3246d48e6fp2,0x1.5bf0a8b145769p1,2.718281828459045 5140 sinh,-0x1.e2d3246d48e6fp2,-0x1.5bf0a8b145769p1,-2.718281828459045 5141 sinh,0x0.0p0,0x0.0p0,0.0 5142 sinh,-0x0.0p0,-0x0.0p0,-0.0 5143 sinh,0x1.2cd9fc44eb982p0,0x1.0p0,1.0 5144 sinh,-0x1.2cd9fc44eb982p0,-0x1.0p0,-1.0 5145 sinh,-0x1.0acd00fe63b97p-1,-0x1.0p-1,-0.5 5146 sinh,0x1.0acd00fe63b97p-1,0x1.0p-1,0.5 5147 sinh,-0x1.0bbeb1603926ap8,-0x1.921fb54442d18p2,-6.283185307179586 5148 sinh,-0x1.bd3c34cf00a25p5,-0x1.2d97c7f3321d2p2,-4.71238898038469 [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldAndroidStrictMathTest.java | 510 assertTrue(Double.isNaN(StrictMath.sinh(Double.NaN))); in testSinhD() 513 .sinh(Double.POSITIVE_INFINITY), 0D); in testSinhD() 516 .sinh(Double.NEGATIVE_INFINITY), 0D); in testSinhD() 518 .doubleToLongBits(StrictMath.sinh(0.0))); in testSinhD() 520 .doubleToLongBits(StrictMath.sinh(+0.0))); in testSinhD() 522 .doubleToLongBits(StrictMath.sinh(-0.0))); in testSinhD() 525 Double.POSITIVE_INFINITY, StrictMath.sinh(1234.56), 0D); in testSinhD() 527 Double.NEGATIVE_INFINITY, StrictMath.sinh(-1234.56), 0D); in testSinhD() 529 1.0000000000001666E-6, StrictMath.sinh(0.000001), 0D); in testSinhD() 531 -1.0000000000001666E-6, StrictMath.sinh(-0.000001), 0D); in testSinhD() [all …]
|
D | OldAndroidMathTest.java | 533 assertTrue("Should return NaN", Double.isNaN(Math.sinh(Double.NaN))); in testSinhD() 535 Double.POSITIVE_INFINITY, Math.sinh(Double.POSITIVE_INFINITY), 0D); in testSinhD() 537 Double.NEGATIVE_INFINITY, Math.sinh(Double.NEGATIVE_INFINITY), 0D); in testSinhD() 539 .sinh(0.0))); in testSinhD() 541 .doubleToLongBits(Math.sinh(+0.0))); in testSinhD() 543 .doubleToLongBits(Math.sinh(-0.0))); in testSinhD() 546 Double.POSITIVE_INFINITY, Math.sinh(1234.56), 0D); in testSinhD() 548 Double.NEGATIVE_INFINITY, Math.sinh(-1234.56), 0D); in testSinhD() 550 1.0000000000001666E-6, Math.sinh(0.000001), 0D); in testSinhD() 552 -1.0000000000001666E-6, Math.sinh(-0.000001), 0D); in testSinhD() [all …]
|
/libcore/ojluni/src/main/native/ |
D | Math.c | 106 return sinh(d); in Math_sinh() 164 FAST_NATIVE_METHOD(Math, sinh, "(D)D"),
|
D | jfdlibm.h | 56 #define sinh jsinh macro
|
D | fdlibm.h | 126 extern double sinh __P((double));
|
D | StrictMath.c | 175 NATIVE_METHOD(StrictMath, sinh, "(D)D"),
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StrictMathTest.java | 1363 assertTrue(Double.isNaN(StrictMath.sinh(Double.NaN))); in test_sinh_D() 1366 .sinh(Double.POSITIVE_INFINITY), 0D); in test_sinh_D() 1369 .sinh(Double.NEGATIVE_INFINITY), 0D); in test_sinh_D() 1371 .doubleToLongBits(StrictMath.sinh(0.0))); in test_sinh_D() 1373 .doubleToLongBits(StrictMath.sinh(+0.0))); in test_sinh_D() 1375 .doubleToLongBits(StrictMath.sinh(-0.0))); in test_sinh_D() 1378 Double.POSITIVE_INFINITY, StrictMath.sinh(1234.56), 0D); in test_sinh_D() 1380 Double.NEGATIVE_INFINITY, StrictMath.sinh(-1234.56), 0D); in test_sinh_D() 1382 1.0000000000001666E-6, StrictMath.sinh(0.000001), 0D); in test_sinh_D() 1384 -1.0000000000001666E-6, StrictMath.sinh(-0.000001), 0D); in test_sinh_D() [all …]
|
D | MathTest.java | 1793 assertTrue(Double.isNaN(Math.sinh(Double.NaN))); in test_sinh_D() 1794 assertEquals(Double.POSITIVE_INFINITY, Math.sinh(Double.POSITIVE_INFINITY), 0D); in test_sinh_D() 1795 assertEquals(Double.NEGATIVE_INFINITY, Math.sinh(Double.NEGATIVE_INFINITY), 0D); in test_sinh_D() 1796 assertEquals(Double.doubleToLongBits(0.0), Double.doubleToLongBits(Math.sinh(0.0))); in test_sinh_D() 1797 assertEquals(Double.doubleToLongBits(+0.0), Double.doubleToLongBits(Math.sinh(+0.0))); in test_sinh_D() 1798 assertEquals(Double.doubleToLongBits(-0.0), Double.doubleToLongBits(Math.sinh(-0.0))); in test_sinh_D() 1800 assertEquals(Double.POSITIVE_INFINITY, Math.sinh(1234.56), 0D); in test_sinh_D() 1801 assertEquals(Double.NEGATIVE_INFINITY, Math.sinh(-1234.56), 0D); in test_sinh_D() 1802 assertEquals(1.0000000000001666E-6, Math.sinh(0.000001), 0D); in test_sinh_D() 1803 assertEquals(-1.0000000000001666E-6, Math.sinh(-0.000001), 0D); in test_sinh_D() [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StrictMath.java | 1345 public static native double sinh(double x); in sinh() method in StrictMath
|
D | Math.java | 1739 public static native double sinh(double x); in sinh() method in Math
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | StrictMathBenchmark.java | 341 StrictMath.sinh(d); in timeSinh()
|
D | MathBenchmark.java | 421 result = Math.sinh(d); in timeSinh()
|
/libcore/api/ |
D | current.txt | 3348 method public static double sinh(double); 3727 method public static double sinh(double);
|