/src/lib/libm/src/ |
s_tan.c | 18 /* tan(x) 26 * Let S,C and T denote the sin, cos and tan respectively on 31 * n sin(x) cos(x) tan(x) 40 * Let trig be any of sin, cos, or tan. 52 __weak_alias(tan, _tan) 55 tan(double x) 67 /* tan(Inf or NaN) is NaN */
|
s_tanl.c | 37 * possibles resulted in tan(x) that exceeded 0.5 ULP (ie., 0.6%). 73 /* If x = +-0 or x is subnormal, then tan(x) = x. */ 77 /* If x = NaN or Inf, then tan(x) = NaN. */ 112 return tan(x);
|
namespace.h | 103 #define tan _tan macro
|
/src/lib/libm/arch/mc68881/ |
s_tan.S | 39 ;.asciz "from: @(#)tan.s 5.1 (Berkeley) 5/17/90" 43 WEAK_ALIAS(tan, _tan)
|
/src/lib/libm/arch/m68060/ |
s_tan.S | 4 * FPLSP wrapper for tan 12 WEAK_ALIAS(tan, _tan)
|
makeas.sh | 223 mk _tan tan 01e8 s_tan k_tan
|
/src/tests/lib/libm/ |
t_tan.c | 58 * tan(3) 80 ok = (tan(theta) == 0); 83 ok = (fabs((tan(theta) - tan_theta)/tan_theta) <= eps); 87 atf_tc_fail_nonfatal("tan(%d deg = %.17g) = %.17g" 89 deg, theta, tan(theta), tan_theta); 97 atf_tc_set_md_var(tc, "descr", "Test tan(NaN) == NaN"); 105 ATF_CHECK(isnan(tan(x)) != 0); 111 atf_tc_set_md_var(tc, "descr", "Test tan(-Inf) == NaN"); 117 const double y = tan(x); 125 atf_tc_set_md_var(tc, "descr", "Test tan(+Inf) == NaN") [all...] |
/src/lib/libm/noieee_src/ |
n_tan.c | 33 static char sccsid[] = "@(#)tan.c 8.1 (Berkeley) 6/4/93"; 40 tan(double x) function in typeref:typename:double 45 if(!finite(x)) /* tan(NaN) and tan(INF) must be NaN */
|
/src/tests/lib/lua/libm/ |
h_lualibm.c | 32 TEST(tan(M_SQRT2)); 33 TEST(atan(tan(M_SQRT2))); 83 TEST(tan(M_PI_4));
|
lualibm.lua | 38 test("tan(M_SQRT2)", lm.tan(lm.M_SQRT2)) 39 test("atan(tan(M_SQRT2))", lm.atan(lm.tan(lm.M_SQRT2))) 86 test("tan(M_PI_4)", lm.tan(lm.M_PI_4))
|
/src/lib/libm/arch/vax/ |
n_tan.S | 30 * @(#)tan.s 8.1 (Berkeley) 6/4/93 40 * tan() observed maximum error = 2.15 ulps 42 * double tan(arg) 51 WEAK_ALIAS(tan, _tan)
|
/src/include/ |
tgmath.h | 139 #define tan(a) __TG_COMPLEX((a), tan) macro
|
math.h | 244 double tan(double);
|
/src/lib/lua/libm/ |
libm.c | 153 DFUNC_DBL(tan) 293 { "tan", libm_tan },
|
/src/lib/libm/ |
Makefile | 173 .for f in cos cosf modf ilogb ilogbl ilogbf sin sinf tan tanf 454 tan.3 tanh.3 trunc.3 fmax.3 fdim.3 554 MLINKS+=tan.3 tanf.3 \ 555 tan.3 tanl.3
|
/src/usr.bin/xlint/llib/ |
llib-lstdc | 102 double (tan)(double x);
|
llib-lposix | 284 double (tan)(double x);
|
/src/sys/arch/m68k/060sp/dist/ |
fplsp.s | 5624 # fp0 = tan(X) # 5641 # 4. (k is even) Tan(X) = tan(r) and tan(r) is approximated by a # 5647 # 4. (k is odd) Tan(X) = -cot(r). Since tan(r) is approximated by # 5655 # 7. (|X|<2**(-40)) Tan(X) = X. Exit. # 5898 #--TAN(X) = X FOR DENORMALIZED X
|
fpsp.s | 5730 # fp0 = tan(X) # 5747 # 4. (k is even) Tan(X) = tan(r) and tan(r) is approximated by a # 5753 # 4. (k is odd) Tan(X) = -cot(r). Since tan(r) is approximated by # 5761 # 7. (|X|<2**(-40)) Tan(X) = X. Exit. # 6004 #--TAN(X) = X FOR DENORMALIZED X
|