/freebsd-10-stable/contrib/netbsd-tests/lib/libm/ |
H A D | t_cosh.c | 57 * 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 D | e_cosh.c | 19 * 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 D | s_ccosh.c | 30 * 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 D | s_csinh.c | 31 * = 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 D | math.h | 250 double cosh(double);
|
H A D | math_private.h | 692 #define __ieee754_cosh cosh
|
/freebsd-10-stable/contrib/libstdc++/include/c_compatibility/ |
H A D | math.h | 43 using std::cosh;
|
/freebsd-10-stable/contrib/libstdc++/libmath/ |
H A D | stubs.c | 160 return (float) cosh(x); 168 return cosh((double) x);
|
H A D | mathconf.h | 273 # define coshf(x) cosh (x)
|
/freebsd-10-stable/contrib/libstdc++/include/c/ |
H A D | std_cmath.h | 52 #undef cosh macro
|
/freebsd-10-stable/contrib/libstdc++/include/tr1/ |
H A D | math.h | 52 using std::tr1::cosh;
|
/freebsd-10-stable/contrib/gcc/ |
H A D | fp-test.c | 51 extern double cosh (double); 235 d1 = cosh (d2);
|
/freebsd-10-stable/contrib/libstdc++/include/c_std/ |
H A D | std_cmath.h | 65 #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 D | Symbol.map | 19 cosh;
|
H A D | Makefile | 137 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 D | tgmath.c | 87 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 D | std_complex.h | 76 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 D | tgmath.h | 150 #define cosh(x) __tg_full(x, cosh) macro
|
/freebsd-10-stable/usr.bin/xlint/llib/ |
H A D | llib-lstdc | 103 double (cosh)(double x);
|
H A D | llib-lposix | 98 double (cosh)(double x);
|
/freebsd-10-stable/lib/msun/tests/ |
H A D | ctrig_test.c | 305 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 D | compatibility.cc | 432 _GLIBCXX_MATHL_WRAPPER1 (cosh, GLIBCXX_3.4);
|
/freebsd-10-stable/contrib/llvm/include/llvm/Target/ |
H A D | TargetLibraryInfo.h | 180 /// double cosh(double x); 181 cosh, enumerator in enum:llvm::LibFunc::Func
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Headers/ |
H A D | tgmath.h | 324 // 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 D | valarray_before.h | 92 { return cosh(__t); }
|