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

12

/freebsd-10-stable/contrib/netbsd-tests/lib/libm/
H A Dt_cosh.c57 * cosh(3)
62 atf_tc_set_md_var(tc, "descr", "cosh(x) for some values");
77 if (fabs(cosh(x) - y) > eps)
78 atf_tc_fail_nonfatal("cosh(%g) != %g\n", x, y);
85 atf_tc_set_md_var(tc, "descr", "Test cosh(NaN) == NaN");
93 ATF_CHECK(isnan(cosh(x)) != 0);
99 atf_tc_set_md_var(tc, "descr", "Test cosh(-Inf) == +Inf");
105 double y = cosh(x);
114 atf_tc_set_md_var(tc, "descr", "Test cosh(+Inf) == +Inf");
120 double y = cosh(
[all...]
/freebsd-10-stable/lib/msun/src/
H A De_cosh.c19 * mathematically cosh(x) if defined to be (exp(x)+exp(-x))/2
20 * 1. Replace x by |x| (cosh(x) = cosh(-x)).
23 * 0 <= x <= ln2/2 : cosh(x) := 1 + -------------------
27 * ln2/2 <= x <= 22 : cosh(x) := -------------------
29 * 22 <= x <= lnovft : cosh(x) := exp(x)/2
30 * lnovft <= x <= ln2ovft: cosh(x) := exp(x/2)/2 * exp(x/2)
31 * ln2ovft < x : cosh(x) := huge*huge (overflow)
34 * cosh(x) is |x| if x is +INF, -INF, or NaN.
35 * only cosh(
[all...]
H A Ds_ccosh.c30 * cosh(z) = cosh(x+iy)
31 * = cosh(x) cos(y) + i sinh(x) sin(y).
36 * must satisfy both cosh(conj(z)) == conj(cosh(z)) and cosh(-z) == cosh(z).
67 return (CMPLX(cosh(x), x * y));
69 return (CMPLX(cosh(x) * cos(y), sinh(x) * sin(y)));
71 /* |x| >= 22, so cosh(
[all...]
H A Ds_csinh.c31 * = sinh(x) cos(y) + i cosh(x) sin(y).
69 return (CMPLX(sinh(x) * cos(y), cosh(x) * sin(y)));
71 /* |x| >= 22, so cosh(x) ~= exp(|x|) */
H A Dmath.h250 double cosh(double);
H A Dmath_private.h692 #define __ieee754_cosh cosh
/freebsd-10-stable/contrib/libstdc++/include/c_compatibility/
H A Dmath.h43 using std::cosh;
/freebsd-10-stable/contrib/libstdc++/libmath/
H A Dstubs.c160 return (float) cosh(x);
168 return cosh((double) x);
H A Dmathconf.h273 # define coshf(x) cosh (x)
/freebsd-10-stable/contrib/libstdc++/include/c/
H A Dstd_cmath.h52 #undef cosh macro
/freebsd-10-stable/contrib/libstdc++/include/tr1/
H A Dmath.h52 using std::tr1::cosh;
/freebsd-10-stable/contrib/gcc/
H A Dfp-test.c51 extern double cosh (double);
235 d1 = cosh (d2);
/freebsd-10-stable/contrib/libstdc++/include/c_std/
H A Dstd_cmath.h65 #undef cosh macro
197 using ::cosh;
200 cosh(float __x) function
204 cosh(long double __x) function
210 cosh(_Tp __x) function
/freebsd-10-stable/lib/msun/
H A DSymbol.map19 cosh;
H A DMakefile137 cimag.3 copysign.3 cos.3 cosh.3 csqrt.3 erf.3 exp.3 fabs.3 fdim.3 \
168 MLINKS+=cosh.3 coshf.3 cosh.3 coshl.3
/freebsd-10-stable/tools/regression/include/tgmath/
H A Dtgmath.c87 TGMACRO(cosh)
445 PRINT("cosh",
446 PASS_REAL_ARG_REAL_RET(cosh) &&
447 PASS_COMPLEX_ARG_COMPLEX_RET(cosh));
/freebsd-10-stable/contrib/libstdc++/include/std/
H A Dstd_complex.h76 template<typename _Tp> complex<_Tp> cosh(const complex<_Tp>&);
666 return complex<_Tp>(cos(__x) * cosh(__y), -sin(__x) * sinh(__y));
689 // 26.2.8/2 cosh(__z): Returns the hyperbolic cosine of __z.
696 return complex<_Tp>(cosh(__x) * cos(__y), sinh(__x) * sin(__y));
712 cosh(const complex<_Tp>& __z) { return __complex_cosh(__z.__rep()); } function
716 cosh(const complex<_Tp>& __z) { return __complex_cosh(__z); } function
784 return complex<_Tp>(sin(__x) * cosh(__y), cos(__x) * sinh(__y));
814 return complex<_Tp>(sinh(__x) * cos(__y), cosh(__x) * sin(__y));
914 { return std::sinh(__z) / std::cosh(__z); }
/freebsd-10-stable/include/
H A Dtgmath.h150 #define cosh(x) __tg_full(x, cosh) macro
/freebsd-10-stable/usr.bin/xlint/llib/
H A Dllib-lstdc103 double (cosh)(double x);
H A Dllib-lposix98 double (cosh)(double x);
/freebsd-10-stable/lib/msun/tests/
H A Dctrig_test.c305 test_even_tol(ccosh, z, CMPLXL(cosh(nums[i]), 0), DBL_ULP());
334 test_even_tol(ccos, z, CMPLXL(cosh(nums[i]), -0.0), DBL_ULP());
355 * sinh(z) = (sinh(0.5) + i cosh(0.5)) * sqrt(2)/2
356 * cosh(z) = (cosh(0.5) + i sinh(0.5)) * sqrt(2)/2
357 * tanh(z) = (2cosh(0.5)sinh(0.5) + i) / (2 cosh(0.5)**2 - 1)
359 * sinh(z) = cosh(0.5)
360 * cosh(z) = -i sinh(0.5)
363 * sinh(z) = (-sinh(1) + i cosh(
[all...]
/freebsd-10-stable/contrib/libstdc++/src/
H A Dcompatibility.cc432 _GLIBCXX_MATHL_WRAPPER1 (cosh, GLIBCXX_3.4);
/freebsd-10-stable/contrib/llvm/include/llvm/Target/
H A DTargetLibraryInfo.h180 /// double cosh(double x);
181 cosh, enumerator in enum:llvm::LibFunc::Func
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Headers/
H A Dtgmath.h324 // cosh
332 __tg_cosh(double __x) {return cosh(__x);}
350 #undef cosh macro
351 #define cosh(__x) __tg_cosh(__tg_promote1((__x))(__x)) macro
/freebsd-10-stable/contrib/libstdc++/include/bits/
H A Dvalarray_before.h92 { return cosh(__t); }

Completed in 181 milliseconds

12