/libcore/luni/src/test/resources/ |
D | math_important_numbers.csv | 199 cosh,0x1.e70c4a4f41685p2,0x1.5bf0a8b145769p1,2.718281828459045 200 cosh,0x1.e70c4a4f41685p2,-0x1.5bf0a8b145769p1,-2.718281828459045 201 cosh,0x1.0p0,0x0.0p0,0.0 202 cosh,0x1.0p0,-0x0.0p0,-0.0 203 cosh,0x1.8b07551d9f551p0,0x1.0p0,1.0 204 cosh,0x1.8b07551d9f551p0,-0x1.0p0,-1.0 205 cosh,0x1.20ac1862ae8dp0,-0x1.0p-1,-0.5 206 cosh,0x1.20ac1862ae8dp0,0x1.0p-1,0.5 207 cosh,0x1.0bbf2bc2b69c6p8,-0x1.921fb54442d18p2,-6.283185307179586 208 cosh,0x1.9c26de7a4c876p7,-0x1.815e630c155e1p2,-6.021385919380436 [all …]
|
D | math_tests.csv | 5074 cosh,0x1.e70c4a4f41685p2,0x1.5bf0a8b145769p1,2.718281828459045 5075 cosh,0x1.e70c4a4f41685p2,-0x1.5bf0a8b145769p1,-2.718281828459045 5076 cosh,0x1.0p0,0x0.0p0,0.0 5077 cosh,0x1.0p0,-0x0.0p0,-0.0 5078 cosh,0x1.8b07551d9f551p0,0x1.0p0,1.0 5079 cosh,0x1.8b07551d9f551p0,-0x1.0p0,-1.0 5080 cosh,0x1.20ac1862ae8dp0,-0x1.0p-1,-0.5 5081 cosh,0x1.20ac1862ae8dp0,0x1.0p-1,0.5 5082 cosh,0x1.0bbf2bc2b69c6p8,-0x1.921fb54442d18p2,-6.283185307179586 5083 cosh,0x1.bd4e9aa3e9cdbp5,-0x1.2d97c7f3321d2p2,-4.71238898038469 [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldAndroidStrictMathTest.java | 151 .cosh(Double.NaN))); in testCosh_D() 154 .cosh(Double.POSITIVE_INFINITY)); in testCosh_D() 157 .cosh(Double.NEGATIVE_INFINITY)); in testCosh_D() 158 assertEquals("Should return 1.0", 1.0, StrictMath.cosh(+0.0)); in testCosh_D() 159 assertEquals("Should return 1.0", 1.0, StrictMath.cosh(-0.0)); in testCosh_D() 162 Double.POSITIVE_INFINITY, StrictMath.cosh(1234.56)); in testCosh_D() 164 Double.POSITIVE_INFINITY, StrictMath.cosh(-1234.56)); in testCosh_D() 166 StrictMath.cosh(0.000001)); in testCosh_D() 168 StrictMath.cosh(-0.000001)); in testCosh_D() 170 StrictMath.cosh(2.33482)); in testCosh_D() [all …]
|
D | OldAndroidMathTest.java | 201 assertTrue(Double.isNaN(Math.cosh(Double.NaN))); in testCoshD() 203 Double.POSITIVE_INFINITY, Math.cosh(Double.POSITIVE_INFINITY), 0D); in testCoshD() 205 Double.POSITIVE_INFINITY, Math.cosh(Double.NEGATIVE_INFINITY), 0D); in testCoshD() 206 assertEquals("Should return 1.0", 1.0, Math.cosh(+0.0), 0D); in testCoshD() 207 assertEquals("Should return 1.0", 1.0, Math.cosh(-0.0), 0D); in testCoshD() 210 Double.POSITIVE_INFINITY, Math.cosh(1234.56), 0D); in testCoshD() 212 Double.POSITIVE_INFINITY, Math.cosh(-1234.56), 0D); in testCoshD() 214 .cosh(0.000001), 0D); in testCoshD() 216 .cosh(-0.000001), 0D); in testCoshD() 218 .cosh(2.33482), 0D); in testCoshD() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StrictMathTest.java | 324 .cosh(Double.NaN))); in test_cosh_D() 327 .cosh(Double.POSITIVE_INFINITY)); in test_cosh_D() 330 .cosh(Double.NEGATIVE_INFINITY)); in test_cosh_D() 331 assertEquals("Should return 1.0", 1.0, StrictMath.cosh(+0.0)); in test_cosh_D() 332 assertEquals("Should return 1.0", 1.0, StrictMath.cosh(-0.0)); in test_cosh_D() 335 Double.POSITIVE_INFINITY, StrictMath.cosh(1234.56)); in test_cosh_D() 337 Double.POSITIVE_INFINITY, StrictMath.cosh(-1234.56)); in test_cosh_D() 339 StrictMath.cosh(0.000001)); in test_cosh_D() 341 StrictMath.cosh(-0.000001)); in test_cosh_D() 343 StrictMath.cosh(2.33482)); in test_cosh_D() [all …]
|
D | MathTest.java | 309 assertTrue(Double.isNaN(Math.cosh(Double.NaN))); in test_cosh_D() 311 Double.POSITIVE_INFINITY, Math.cosh(Double.POSITIVE_INFINITY), 0D); in test_cosh_D() 313 Double.POSITIVE_INFINITY, Math.cosh(Double.NEGATIVE_INFINITY), 0D); in test_cosh_D() 314 assertEquals("Should return 1.0", 1.0, Math.cosh(+0.0), 0D); in test_cosh_D() 315 assertEquals("Should return 1.0", 1.0, Math.cosh(-0.0), 0D); in test_cosh_D() 318 Double.POSITIVE_INFINITY, Math.cosh(1234.56), 0D); in test_cosh_D() 320 Double.POSITIVE_INFINITY, Math.cosh(-1234.56), 0D); in test_cosh_D() 322 .cosh(0.000001), 0D); in test_cosh_D() 324 .cosh(-0.000001), 0D); in test_cosh_D() 326 .cosh(2.33482), 0D); in test_cosh_D() [all …]
|
/libcore/ojluni/src/main/native/ |
D | jfdlibm.h | 53 #define cosh jcosh macro
|
D | fdlibm.h | 125 extern double cosh __P((double));
|
D | StrictMath.c | 174 NATIVE_METHOD(StrictMath, cosh, "(D)D"),
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StrictMath.java | 1369 public static native double cosh(double x); in cosh() method in StrictMath
|
D | Math.java | 1766 public static native double cosh(double x); in cosh() method in Math
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | StrictMathBenchmark.java | 141 StrictMath.cosh(d); in timeCosh()
|
D | MathBenchmark.java | 157 result = Math.cosh(d); in timeCosh()
|