| /src/lib/libm/arch/mc68881/ |
| s_tanh.S | 39 ;.asciz "from: @(#)tanh.s 5.1 (Berkeley) 5/17/90" 43 ENTRY(tanh) function
|
| /src/lib/libm/noieee_src/ |
| n_tanh.c | 33 static char sccsid[] = "@(#)tanh.c 8.1 (Berkeley) 6/4/93"; 37 /* TANH(X) 51 * 1. reduce x to non-negative by tanh(-x) = - tanh(x). 53 * 0 < x <= 1.e-10 : tanh(x) := x 55 * 1.e-10 < x <= 1 : tanh(x) := -------------- 58 * 1 <= x <= 22.0 : tanh(x) := 1 - --------------- 60 * 22.0 < x <= INF : tanh(x) := 1. 65 * tanh(NaN) is NaN; 66 * only tanh(0)=0 is exact for finite argument 77 tanh(double x) function [all...] |
| /src/lib/libm/arch/m68060/ |
| s_tanh.S | 4 * FPLSP wrapper for tanh 12 WEAK_ALIAS(tanh, _tanh)
|
| /src/tests/lib/libm/ |
| 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(+0.0) == +0.0") [all...] |
| /src/lib/libm/src/ |
| s_tanh.c | 18 /* Tanh(x) 24 * 0. tanh(x) is defined to be ----------- 27 * 1. reduce x to non-negative by tanh(-x) = -tanh(x). 28 * 2. 0 <= x <= 2**-55 : tanh(x) := x*(one+x) 30 * 2**-55 < x <= 1 : tanh(x) := -----; t = expm1(-2x) 33 * 1 <= x <= 22.0 : tanh(x) := 1- ----- ; t=expm1(2x) 35 * 22.0 < x <= INF : tanh(x) := 1. 38 * tanh(NaN) is NaN; 39 * only tanh(0)=0 is exact for finite argument 48 tanh(double x) function [all...] |
| /src/tests/lib/lua/libm/ |
| h_lualibm.c | 34 TEST(tanh(M_SQRT2)); 35 TEST(atanh(tanh(M_SQRT2))); 84 TEST(tanh(M_PI_4));
|
| lualibm.lua | 40 test("tanh(M_SQRT2)", lm.tanh(lm.M_SQRT2)) 41 test("atanh(tanh(M_SQRT2))", lm.atanh(lm.tanh(lm.M_SQRT2))) 87 test("tanh(M_PI_4)", lm.tanh(lm.M_PI_4))
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/ |
| math_stubs_float.cc | 221 return (float) tanh(x);
|
| math_stubs_long_double.cc | 221 return tanh((double) x);
|
| /src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++98/ |
| math_stubs_float.cc | 221 return (float) tanh(x);
|
| math_stubs_long_double.cc | 221 return tanh((double) x);
|
| /src/external/apache2/llvm/dist/clang/lib/Headers/ |
| __clang_cuda_math_forward_declares.h | 176 __DEVICE__ double tanh(double); 177 __DEVICE__ float tanh(float); 269 using ::tanh;
|
| /src/external/lgpl3/mpc/dist/tests/ |
| Makefile.am | 67 tanh.dsc ui_div.dsc ui_ui_sub.dsc 75 sqr.dat sqrt.dat strtoc.dat sub.dat sub_fr.dat tan.dat tanh.dat
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/stdc/ |
| tgmath.d | 168 alias core.stdc.math.tanh tanh; 170 alias core.stdc.math.tanhf tanh; 172 alias core.stdc.math.tanhl tanh; 175 deprecated alias core.stdc.complex.ctanh tanh; 176 deprecated alias core.stdc.complex.ctanhf tanh; 177 deprecated alias core.stdc.complex.ctanhl tanh; 668 alias core.stdc.math.tanh tanh; 670 alias core.stdc.math.tanhf tanh; [all...] |
| /src/external/gpl3/gcc/dist/gcc/ |
| fp-test.cc | 52 extern double tanh (double); 236 d1 = tanh (d2);
|
| /src/external/gpl3/gcc/dist/gcc/ginclude/ |
| tgmath.h | 72 #define tanh(z) __TGMATH_CPLX(z, tanh, ctanh) macro
|
| /src/external/gpl3/gcc.old/dist/gcc/ |
| fp-test.cc | 52 extern double tanh (double); 236 d1 = tanh (d2);
|
| /src/external/gpl3/gcc.old/dist/gcc/ginclude/ |
| tgmath.h | 72 #define tanh(z) __TGMATH_CPLX(z, tanh, ctanh) macro
|
| /src/external/lgpl3/mpc/dist/src/ |
| Makefile.am | 33 sqrt.c strtoc.c sub.c sub_fr.c sub_ui.c sum.c swap.c tan.c tanh.c \
|
| logging.c | 124 MPC_LOGGING_C_C (tanh)
|
| /src/external/lgpl3/mpc/dist/tools/mpcheck/ |
| mpcheck-double.c | 131 /* use reduced exponent range for tan and tanh */ 138 #define FOO tanh
|
| mpcheck-float.c | 146 #define FOO tanh
|
| mpcheck-float128.c | 151 #define FOO tanh
|
| mpcheck-longdouble.c | 134 #define FOO tanh
|
| /src/external/lgpl3/mpc/lib/libmpc/ |
| Makefile | 101 tanh.c \
|