Searched refs:tanh (Results 1 - 25 of 60) sorted by relevance

123

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/
H A D980312-1.c17 tanh (double __x) function
23 return tanh (3.45) != 0;
H A D980313-1.c17 tanh (double __x) function
24 return tanh (3.45) != 0;
/openbsd-current/regress/lib/libm/fpaccuracy/
H A Dtanh.c1 /* $OpenBSD: tanh.c,v 1.1 2009/04/09 01:24:43 martynas Exp $ */
25 #define F tanh
26 #define Fs "tanh"
H A DMakefile7 sincos.c sincos2.c sinh.c sqrt.c tan.c tanh.c y0.c y1.c
/openbsd-current/lib/libm/src/
H A Ds_tanh.c19 * 0. tanh(x) is defined to be -----------
22 * 1. reduce x to non-negative by tanh(-x) = -tanh(x).
23 * 2. 0 <= x < 2**-55 : tanh(x) := x*(one+x)
25 * 2**-55 <= x < 1 : tanh(x) := -----; t = expm1(-2x)
28 * 1 <= x < 22.0 : tanh(x) := 1- ----- ; t=expm1(2x)
30 * 22.0 <= x <= INF : tanh(x) := 1.
33 * tanh(NaN) is NaN;
34 * only tanh(0)=0 is exact for finite argument.
45 tanh(doubl function
79 DEF_STD(tanh); variable
80 LDBL_MAYBE_UNUSED_CLONE(tanh); variable
[all...]
/openbsd-current/gnu/lib/libstdc++/libstdc++/libmath/
H A Dstubs.c267 return (float) tanh(x);
275 return tanh((double) x);
H A Dmathconf.h305 # define tanhf(x) tanh (x)
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/26_numerics/
H A Dvalarray_name_lookup.cc80 Number tanh(Number);
112 v = tanh(u);
/openbsd-current/gnu/gcc/libstdc++-v3/include/c_compatibility/
H A Dmath.h45 using std::tanh;
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/c_compatibility/
H A Dmath.h45 using std::tanh;
/openbsd-current/regress/lib/libm/cephes/
H A Dmonot.c53 double tanh (double);
190 /* tanh in OpenBSD libm has less precession, adapt expectation from 2 to 3 */
191 {"tanh", tanh, 0.5, 4.62112426757812500000E-1,
193 {"tanh", tanh, 5.49306144334054780032E-1, 4.99984741210937500000E-1,
195 {"tanh", tanh, 0.625, 5.54595947265625000000E-1,
H A Dtestvect.c64 double tanh (double);
168 {"tanh", tanh, &NAN, &NAN, 0},
169 {"tanh", tanh, &ZERO, &ZERO, 0},
170 {"tanh", tanh, &MZERO, &MZERO, 0},
171 {"tanh", tanh, &INF, &ONE, 0},
172 {"tanh", tan
[all...]
/openbsd-current/gnu/usr.bin/perl/ext/POSIX/t/
H A Dmath.t53 is(tanh(0), 0, "Basic tanh(0) test");
54 between(0.76, tanh(1), 0.77, 'tanh(1)');
55 between(-0.77, tanh(-1), -0.76, 'tanh(-1)');
56 cmp_ok(tanh(1), '==', -tanh(-1), 'tanh(1) == -tanh(
[all...]
/openbsd-current/gnu/gcc/libstdc++-v3/libmath/
H A Dstubs.c445 return (float) tanh(x);
453 return tanh((double) x);
H A Dmathconf.h300 # define tanhf(x) tanh (x)
/openbsd-current/gnu/gcc/libstdc++-v3/include/c/
H A Dstd_cmath.h67 #undef tanh macro
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/c/
H A Dstd_cmath.h67 #undef tanh macro
/openbsd-current/gnu/llvm/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h176 __DEVICE__ double tanh(double);
177 __DEVICE__ float tanh(float);
269 using ::tanh;
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/c_std/
H A Dstd_cmath.h78 #undef tanh macro
664 using ::tanh;
668 tanh(float __x) { return __gnu_cxx::__c99_binding::tanhf(__x); } function in namespace:std
671 tanh(float __x) { return ::tanh(static_cast<double>(__x)); }
676 tanh(long double __x) { return ::tanhl(__x); } function in namespace:std
679 tanh(long double __x) { return ::tanh(static_cast<double>(__x)); } function in namespace:std
684 tanh(_Tp __x) function in namespace:std
685 { return ::tanh(static_cas
[all...]
/openbsd-current/gnu/usr.bin/perl/dist/Math-Complex/t/
H A DTrig.t60 ok(near(tanh(1), 0.761594155955765));
329 print "# sinh/sech/cosh/csch/tanh/coth unto infinity\n";
335 ok(near(tanh(100), 1));
342 ok(near(tanh(-100), -1));
349 cmp_ok(tanh(1e5), '==', 1);
356 cmp_ok(tanh(-1e5), '==', -1);
/openbsd-current/gnu/gcc/libstdc++-v3/include/tr1/
H A Dmath.h93 using std::tr1::tanh;
/openbsd-current/gnu/gcc/gcc/
H A Dfp-test.c53 extern double tanh (double);
237 d1 = tanh (d2);
/openbsd-current/gnu/usr.bin/gcc/gcc/
H A Dfp-test.c53 extern double tanh (double);
237 d1 = tanh (d2);
/openbsd-current/gnu/gcc/libstdc++-v3/include/c_std/
H A Dstd_cmath.h80 #undef tanh macro
440 using ::tanh;
443 tanh(float __x) function
447 tanh(long double __x) function
453 tanh(_Tp __x) function
/openbsd-current/gnu/gcc/gcc/cp/
H A Dcfns.h268 "tanh",

Completed in 188 milliseconds

123