Home
last modified time | relevance | path

Searched refs:cosh (Results 1 – 13 of 13) sorted by relevance

/libcore/luni/src/test/resources/
Dmath_important_numbers.csv199 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 …]
Dmath_tests.csv5074 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/
DOldAndroidStrictMathTest.java151 .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 …]
DOldAndroidMathTest.java201 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/
DStrictMathTest.java324 .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 …]
DMathTest.java309 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/
Djfdlibm.h53 #define cosh jcosh macro
Dfdlibm.h125 extern double cosh __P((double));
DStrictMath.c174 NATIVE_METHOD(StrictMath, cosh, "(D)D"),
/libcore/ojluni/src/main/java/java/lang/
DStrictMath.java1369 public static native double cosh(double x); in cosh() method in StrictMath
DMath.java1766 public static native double cosh(double x); in cosh() method in Math
/libcore/benchmarks/src/benchmarks/regression/
DStrictMathBenchmark.java141 StrictMath.cosh(d); in timeCosh()
DMathBenchmark.java157 result = Math.cosh(d); in timeCosh()