/freebsd-10-stable/lib/msun/src/ |
H A D | s_tanh.c | 22 * 0. tanh(x) is defined to be ----------- 25 * 1. reduce x to non-negative by tanh(-x) = -tanh(x). 26 * 2. 0 <= x < 2**-28 : tanh(x) := x with inexact if x != 0 28 * 2**-28 <= x < 1 : tanh(x) := -----; t = expm1(-2x) 31 * 1 <= x < 22 : tanh(x) := 1 - -----; t = expm1(2x) 33 * 22 <= x <= INF : tanh(x) := 1. 36 * tanh(NaN) is NaN; 37 * only tanh(0)=0 is exact for finite argument. 49 tanh(doubl function [all...] |
H A D | math.h | 252 double tanh(double);
|
/freebsd-10-stable/contrib/netbsd-tests/lib/libm/ |
H A D | t_tanh.c | 38 * tanh(3) 43 atf_tc_set_md_var(tc, "descr", "Test tanh(NaN) == NaN"); 51 ATF_CHECK(isnan(tanh(x)) != 0); 57 atf_tc_set_md_var(tc, "descr", "Test tanh(-Inf) == -1.0"); 64 ATF_CHECK(tanh(x) == -1.0); 70 atf_tc_set_md_var(tc, "descr", "Test tanh(+Inf) == +1.0"); 77 ATF_CHECK(tanh(x) == 1.0); 83 atf_tc_set_md_var(tc, "descr", "Test tanh(-0.0) == -0.0"); 89 double y = tanh(x); 101 atf_tc_set_md_var(tc, "descr", "Test tanh( [all...] |
/freebsd-10-stable/contrib/libstdc++/include/c_compatibility/ |
H A D | math.h | 45 using std::tanh;
|
/freebsd-10-stable/contrib/libstdc++/libmath/ |
H A D | stubs.c | 445 return (float) tanh(x); 453 return tanh((double) x);
|
H A D | mathconf.h | 300 # define tanhf(x) tanh (x)
|
/freebsd-10-stable/contrib/libstdc++/include/c/ |
H A D | std_cmath.h | 67 #undef tanh macro
|
/freebsd-10-stable/contrib/libstdc++/include/tr1/ |
H A D | math.h | 93 using std::tr1::tanh;
|
/freebsd-10-stable/contrib/gcc/ |
H A D | fp-test.c | 53 extern double tanh (double); 237 d1 = tanh (d2);
|
H A D | sys-protos.h | 1139 extern double tanh(double);
|
/freebsd-10-stable/contrib/libstdc++/include/c_std/ |
H A D | std_cmath.h | 80 #undef tanh macro 440 using ::tanh; 443 tanh(float __x) function 447 tanh(long double __x) function 453 tanh(_Tp __x) function
|
/freebsd-10-stable/lib/msun/ |
H A D | Symbol.map | 175 tanh;
|
H A D | Makefile | 143 round.3 scalbn.3 signbit.3 sin.3 sinh.3 sqrt.3 tan.3 tanh.3 trunc.3 \ 222 MLINKS+=tanh.3 tanhf.3 tanh.3 tanhl.3
|
/freebsd-10-stable/tools/regression/include/tgmath/ |
H A D | tgmath.c | 89 TGMACRO(tanh) 453 PRINT("tanh", 454 PASS_REAL_ARG_REAL_RET(tanh) && 455 PASS_COMPLEX_ARG_COMPLEX_RET(tanh));
|
/freebsd-10-stable/include/ |
H A D | tgmath.h | 152 #define tanh(x) __tg_full(x, tanh) macro
|
/freebsd-10-stable/usr.bin/xlint/llib/ |
H A D | llib-lstdc | 105 double (tanh)(double x);
|
H A D | llib-lposix | 285 double (tanh)(double x);
|
/freebsd-10-stable/lib/msun/tests/ |
H A D | ctrig_test.c | 306 test_odd_tol(ctanh, z, CMPLXL(tanh(nums[i]), 0), DBL_ULP()); 335 test_odd_tol(ctan, z, CMPLXL(0, tanh(nums[i])), DBL_ULP()); 357 * tanh(z) = (2cosh(0.5)sinh(0.5) + i) / (2 cosh(0.5)**2 - 1) 361 * tanh(z) = -coth(0.5) 365 * tanh(z) = (2cosh(1)sinh(1) - i) / (2cosh(1)**2 - 1) 418 /* tanh() uses a threshold around x=22, so check both sides. */
|
/freebsd-10-stable/contrib/libstdc++/src/ |
H A D | compatibility.cc | 477 _GLIBCXX_MATHL_WRAPPER1 (tanh, GLIBCXX_3.4);
|
/freebsd-10-stable/contrib/llvm/include/llvm/Target/ |
H A D | TargetLibraryInfo.h | 597 /// double tanh(double x); 598 tanh, enumerator in enum:llvm::LibFunc::Func
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Headers/ |
H A D | tgmath.h | 382 // tanh 390 __tg_tanh(double __x) {return tanh(__x);} 408 #undef tanh macro 409 #define tanh(__x) __tg_tanh(__tg_promote1((__x))(__x)) macro
|
/freebsd-10-stable/contrib/libstdc++/include/std/ |
H A D | std_complex.h | 101 template<typename _Tp> complex<_Tp> tanh(const complex<_Tp>&); 909 // 26.2.8/15 tanh(__z): Returns the hyperbolic tangent of __z. 929 tanh(const complex<_Tp>& __z) { return __complex_tanh(__z.__rep()); } function 933 tanh(const complex<_Tp>& __z) { return __complex_tanh(__z); } function
|
/freebsd-10-stable/contrib/libstdc++/include/bits/ |
H A D | valarray_before.h | 134 { return tanh(__t); }
|
H A D | valarray_after.h | 454 _DEFINE_EXPR_UNARY_FUNCTION(tanh)
|
/freebsd-10-stable/contrib/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 1243 return Name == "tan" || Name == "tanh"; 1457 else if (Name == "tanh" && TLI->has(LibFunc::tanh)) 1458 return ConstantFoldFP(tanh, V, Ty);
|