/src/lib/libm/src/ |
s_erfl.c | 62 return erfc(x);
|
s_erf.c | 19 * double erfc(double x) 26 * erfc(x) = 1-erf(x) 29 * erfc(-x) = 2 - erfc(x) 34 * erfc(x) = 1 - erf(x) if x in [-.84375,0.25] 54 * erfc(x) = (1-c) - P1(s)/Q1(s) if x > 0 68 * erfc(x) = (1/x)*exp(-x*x-0.5625+R1/S1) 69 * erf(x) = 1 - erfc(x) 75 * erfc(x) = (1/x)*exp(-x*x-0.5625+R2/S2) if x > 0 78 * erf(x) = sign(x)*(1.0 - erfc(x)) if x < 6, els 244 erfc(double x) function in typeref:typename:double [all...] |
/src/tests/lib/libm/ |
t_erf.c | 186 * erfc(3) 191 atf_tc_set_md_var(tc, "descr", "Test erfc(NaN) == NaN"); 198 ATF_CHECK(isnan(erfc(x)) != 0); 204 atf_tc_set_md_var(tc, "descr", "Test erfc(-Inf) == 2.0"); 211 if (erfc(x) != 2.0) 212 atf_tc_fail_nonfatal("erfc(-Inf) != 2.0"); 218 atf_tc_set_md_var(tc, "descr", "Test erfc(+Inf) == +0.0"); 224 double y = erfc(x); 227 atf_tc_fail_nonfatal("erfc(+Inf) != +0.0");
|
/src/tests/lib/lua/libm/ |
h_lualibm.c | 43 TEST(erfc(M_SQRT1_2));
|
lualibm.lua | 49 test("erfc(M_SQRT1_2)", lm.erfc(lm.M_SQRT1_2))
|
/src/lib/libm/noieee_src/ |
n_erf.c | 44 * Performance of erfc(x): 56 * double erfc(double x) 63 * erfc(x) = 1-erf(x) 69 * erfc(x) = 1 - erf(x) if x<=0.25 92 * erfc(x) = (1-c) - P1(s)/Q1(s) 106 * erfc(x) = (1/x)exp(-x*x-(.5*log(pi) -.5z + R(z)/S(z)) 112 * erfc(x) = (1/x)exp(-x*x-(.5*log(pi)+eps + zP(z)) 119 * erfc(x) ~ ---------- * ( 1 + Poly(1/x^2) ); 126 * erfc*x*exp(x*x) ~ 1/sqrt(pi); 139 * erfc(x) = tiny*tiny (raise underflow 330 erfc(double x) function in typeref:typename:double [all...] |
/src/include/ |
tgmath.h | 154 #define erfc(a) __TG_FN1(erfc, (a)) macro
|
math.h | 269 double erfc(double);
|
/src/lib/lua/libm/ |
libm.c | 120 DFUNC_DBL(erfc) 256 { "erfc", libm_erfc },
|
/src/lib/libm/ |
Makefile | 489 erf.3 erfc.3 \
|