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

/libcore/ojluni/src/main/native/
H A Djfdlibm.h53 #define cosh jcosh macro
H A DMath.c104 return cosh(d);
156 NATIVE_METHOD(Math, cosh, "!(D)D"),
H A Dfdlibm.h125 extern double cosh __P((double));
H A DStrictMath.c174 NATIVE_METHOD(StrictMath, cosh, "(D)D"),
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldAndroidMathTest.java161 assertTrue(Double.isNaN(Math.cosh(Double.NaN)));
163 Double.POSITIVE_INFINITY, Math.cosh(Double.POSITIVE_INFINITY), 0D);
165 Double.POSITIVE_INFINITY, Math.cosh(Double.NEGATIVE_INFINITY), 0D);
166 assertEquals("Should return 1.0", 1.0, Math.cosh(+0.0), 0D);
167 assertEquals("Should return 1.0", 1.0, Math.cosh(-0.0), 0D);
170 Double.POSITIVE_INFINITY, Math.cosh(1234.56), 0D);
172 Double.POSITIVE_INFINITY, Math.cosh(-1234.56), 0D);
174 .cosh(0.000001), 0D);
176 .cosh(-0.000001), 0D);
178 .cosh(2.3348
[all...]
H A DOldAndroidStrictMathTest.java151 .cosh(Double.NaN)));
154 .cosh(Double.POSITIVE_INFINITY));
157 .cosh(Double.NEGATIVE_INFINITY));
158 assertEquals("Should return 1.0", 1.0, StrictMath.cosh(+0.0));
159 assertEquals("Should return 1.0", 1.0, StrictMath.cosh(-0.0));
162 Double.POSITIVE_INFINITY, StrictMath.cosh(1234.56));
164 Double.POSITIVE_INFINITY, StrictMath.cosh(-1234.56));
166 StrictMath.cosh(0.000001));
168 StrictMath.cosh(-0.000001));
170 StrictMath.cosh(2.3348
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DStrictMathTest.java318 * java.lang.StrictMath#cosh(double)
324 .cosh(Double.NaN)));
327 .cosh(Double.POSITIVE_INFINITY));
330 .cosh(Double.NEGATIVE_INFINITY));
331 assertEquals("Should return 1.0", 1.0, StrictMath.cosh(+0.0));
332 assertEquals("Should return 1.0", 1.0, StrictMath.cosh(-0.0));
335 Double.POSITIVE_INFINITY, StrictMath.cosh(1234.56));
337 Double.POSITIVE_INFINITY, StrictMath.cosh(-1234.56));
339 StrictMath.cosh(0.000001));
341 StrictMath.cosh(
[all...]
H A DMathTest.java305 * java.lang.Math#cosh(double)
309 assertTrue(Double.isNaN(Math.cosh(Double.NaN)));
311 Double.POSITIVE_INFINITY, Math.cosh(Double.POSITIVE_INFINITY), 0D);
313 Double.POSITIVE_INFINITY, Math.cosh(Double.NEGATIVE_INFINITY), 0D);
314 assertEquals("Should return 1.0", 1.0, Math.cosh(+0.0), 0D);
315 assertEquals("Should return 1.0", 1.0, Math.cosh(-0.0), 0D);
318 Double.POSITIVE_INFINITY, Math.cosh(1234.56), 0D);
320 Double.POSITIVE_INFINITY, Math.cosh(-1234.56), 0D);
322 .cosh(0.000001), 0D);
324 .cosh(
[all...]
/libcore/ojluni/src/main/java/java/lang/
H A DStrictMath.java57 * {@code sinh}, {@code cosh}, {@code tanh},
1282 public static native double cosh(double x); method in class:StrictMath
1289 * sinh(<i>x</i>)}/{@linkplain Math#cosh cosh(<i>x</i>)}. Note
H A DMath.java1502 public static native double cosh(double x); method in class:Math
1509 * sinh(<i>x</i>)}/{@linkplain Math#cosh cosh(<i>x</i>)}. Note
/libcore/benchmarks/src/benchmarks/regression/
H A DStrictMathBenchmark.java141 StrictMath.cosh(d);
H A DMathBenchmark.java157 result = Math.cosh(d);

Completed in 1062 milliseconds