/glibc-2.36/string/ |
D | tester.c | 78 char one[50]; variable 136 for (__n = 0; __n < (int) sizeof (one); ++__n) \ 137 one[__n] = 'Z'; \ 138 fn (one, str); \ 139 for (cp = one, __n = 0; __n < n; ++__n, ++cp) \ 149 check (strcpy (one, "abcd") == one, 1); /* Returned value. */ in test_strcpy() 150 equal (one, "abcd", 2); /* Basic test. */ in test_strcpy() 152 (void) strcpy (one, "x"); in test_strcpy() 153 equal (one, "x", 3); /* Writeover. */ in test_strcpy() 154 equal (one+2, "cd", 4); /* Wrote too much? */ in test_strcpy() [all …]
|
/glibc-2.36/sysdeps/ieee754/flt-32/ |
D | s_erff.c | 31 one = 1.0000000000e+00, /* 0x3F800000 */ variable 110 return (float)(1-i)+one/x; /* erf(+-inf)=+-1 */ in __erff() 126 s = one+z*(qq1+z*(qq2+z*(qq3+z*(qq4+z*qq5)))); in __erff() 131 s = fabsf(x)-one; in __erff() 133 Q = one+s*(qa1+s*(qa2+s*(qa3+s*(qa4+s*(qa5+s*qa6))))); in __erff() 137 if(hx>=0) return one-tiny; else return tiny-one; in __erff() 140 s = one/(x*x); in __erff() 144 S=one+s*(sa1+s*(sa2+s*(sa3+s*(sa4+s*( in __erff() 149 S=one+s*(sb1+s*(sb2+s*(sb3+s*(sb4+s*( in __erff() 155 if(hx>=0) return one-r/x; else return r/x-one; in __erff() [all …]
|
D | s_tanhf.c | 25 static const float one=1.0, two=2.0, tiny = 1.0e-30; variable 37 if (jx>=0) return one/x+one; /* tanh(+-inf)=+-1 */ in __tanhf() 38 else return one/x-one; /* tanh(NaN) = NaN */ in __tanhf() 48 return x*(one+x); /* tanh(small) = small */ in __tanhf() 52 z = one - two/(t+two); in __tanhf() 59 z = one - tiny; /* raised inexact flag */ in __tanhf()
|
D | e_lgammaf_r.c | 24 one = 1.0000000000e+00, /* 0x3f800000 */ variable 128 case 4: y = __sinf (pi*(one-y)); break; in sin_pif() 153 return one/fabsf(x); in __ieee754_lgammaf_r() 169 if(t==zero) return one/fabsf(t); /* -integer */ in __ieee754_lgammaf_r() 181 if(ix>=0x3f3b4a20) {y = one-x; i= 0;} in __ieee754_lgammaf_r() 182 else if(ix>=0x3e6d3308) {y= x-(tc-one); i=1;} in __ieee754_lgammaf_r() 188 else {y=x-one;i=2;} in __ieee754_lgammaf_r() 207 p2 = one+y*(v1+y*(v2+y*(v3+y*(v4+y*v5)))); in __ieee754_lgammaf_r() 216 q = one+y*(r1+y*(r2+y*(r3+y*(r4+y*(r5+y*r6))))); in __ieee754_lgammaf_r() 218 z = one; /* lgamma(1+s) = log(s) + lgamma(s) */ in __ieee754_lgammaf_r() [all …]
|
D | e_j0f.c | 26 one = 1.0, variable 261 if(ix>=0x7f800000) return one/(x*x); in __ieee754_j0f() 296 if(ix<0x32000000) return one; /* |x|<2**-27 */ in __ieee754_j0f() 297 else return one - (float)0.25*x*x; in __ieee754_j0f() 301 s = one+z*(S01+z*(S02+z*(S03+z*S04))); in __ieee754_j0f() 303 return one + z*((float)-0.25+(r/s)); in __ieee754_j0f() 306 return((one+u)*(one-u)+z*(r/s)); in __ieee754_j0f() 546 if(ix>=0x7f800000) return one/(x+x*x); in __ieee754_y0f() 597 v = one+z*(v01+z*(v02+z*(v03+z*v04))); in __ieee754_y0f() 687 z = one/(x*x); in pzerof() [all …]
|
D | s_expm1f.c | 27 one = 1.0, variable 65 return tiny-one; /* return -1 */ in __expm1f() 95 r1 = one+hxs*(Q1+hxs*(Q2+hxs*(Q3+hxs*(Q4+hxs*Q5)))); in __expm1f() 105 else return one+(float)2.0*(x-e); in __expm1f() 109 y = one-(e-x); in __expm1f() 112 return y-one; in __expm1f() 114 t = one; in __expm1f() 125 y += one; in __expm1f()
|
D | s_asinhf.c | 22 one = 1.0000000000e+00, /* 0x3F800000 */ variable 35 if(huge+x>one) return x; /* return x inexact except 0 */ in __asinhf() 43 w = __ieee754_logf(2.0f*xa+one/(sqrtf(xa*xa+one)+xa)); in __asinhf() 46 w =__log1pf(xa+t/(one+sqrtf(one+t))); in __asinhf()
|
/glibc-2.36/sysdeps/ieee754/dbl-64/ |
D | s_erf.c | 127 one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */ variable 208 return (double) (1 - i) + one / x; /* erf(+-inf)=+-1 */ in __erf() 228 s1 = one + z * qq[1]; in __erf() 239 s = fabs (x) - one; in __erf() 241 Q1 = one + s * qa[1]; s4 = s2 * s2; in __erf() 258 return one - tiny; in __erf() 260 return tiny - one; in __erf() 263 s = one / (x * x); in __erf() 268 S1 = one + s * sa[1]; s4 = s2 * s2; in __erf() 282 S1 = one + s * sb[1]; s4 = s2 * s2; in __erf() [all …]
|
D | e_j0.c | 70 one = 1.0, variable 94 return one / (x * x); in __ieee754_j0() 126 return one; /* |x|<2**-27 */ in __ieee754_j0() 128 return one - 0.25 * x * x; in __ieee754_j0() 134 s1 = one + z * S[1]; in __ieee754_j0() 139 return one + z * (-0.25 + (r / s)); in __ieee754_j0() 144 return ((one + u) * (one - u) + z * (r / s)); in __ieee754_j0() 172 return one / (x + x * x); in __ieee754_y0() 222 v1 = one + z * V[0]; in __ieee754_y0() 313 return one; in pzero() [all …]
|
D | s_tanh.c | 47 static const double one = 1.0, two = 2.0, tiny = 1.0e-300; variable 63 return one / x + one; /* tanh(+-inf)=+-1 */ in __tanh() 65 return one / x - one; /* tanh(NaN) = NaN */ in __tanh() 76 return x * (one + x); /* tanh(small) = small */ in __tanh() 81 z = one - two / (t + two); in __tanh() 92 z = one - tiny; /* raised inexact flag */ in __tanh()
|
D | e_lgamma_r.c | 89 one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */ variable 193 case 4: y = __sin(pi*(one-y)); break; in sin_pi() 218 return one/fabs(x); in __ieee754_lgamma_r() 234 if(t==zero) return one/fabsf(t); /* -integer */ in __ieee754_lgamma_r() 246 if(ix>=0x3FE76944) {y = one-x; i= 0;} in __ieee754_lgamma_r() 247 else if(ix>=0x3FCDA661) {y= x-(tc-one); i=1;} in __ieee754_lgamma_r() 253 else {y=x-one;i=2;} in __ieee754_lgamma_r() 272 p2 = one+y*(v1+y*(v2+y*(v3+y*(v4+y*v5)))); in __ieee754_lgamma_r() 281 q = one+y*(r1+y*(r2+y*(r3+y*(r4+y*(r5+y*r6))))); in __ieee754_lgamma_r() 283 z = one; /* lgamma(1+s) = log(s) + lgamma(s) */ in __ieee754_lgamma_r() [all …]
|
D | e_j1.c | 73 one = 1.0, variable 98 return one / x; in __ieee754_j1() 131 if (huge + x > one) /* inexact if x!=0 necessary */ in __ieee754_j1() 145 s1 = one + z * S[1]; in __ieee754_j1() 178 return one / (x + x * x); in __ieee754_y1() 228 v1 = one + z * V0[0]; in __ieee754_y1() 232 return (x * (u / v) + tpi * (__ieee754_j1 (x) * __ieee754_log (x) - one / x)); in __ieee754_y1() 321 return one; in pone() 339 z = one / (x * x); in pone() 344 s1 = one + z * q[0]; in pone() [all …]
|
D | s_asinh.c | 31 one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */ variable 45 if (huge + x > one) in __asinh() 59 w = __ieee754_log (2.0 * xa + one / (sqrt (xa * xa + one) + in __asinh() 65 w = __log1p (xa + t / (one + sqrt (one + t))); in __asinh()
|
/glibc-2.36/sysdeps/ieee754/ldbl-96/ |
D | s_tanhl.c | 49 static const long double one=1.0, two=2.0, tiny = 1.0e-4900L; variable 64 if (se&0x8000) return one/x-one; /* tanhl(-inf)= -1; */ in __tanhl() 65 else return one/x+one; /* tanhl(+inf)=+1 */ in __tanhl() 75 return x*(one+tiny); /* tanh(small) = small */ in __tanhl() 79 z = one - two/(t+two); in __tanhl() 86 z = one - tiny; /* raised inexact flag */ in __tanhl()
|
D | s_erfl.c | 117 one = 1.0L, variable 267 return (long double) (1 - i) + one / x; /* erf(+-inf)=+-1 */ in __erfl() 294 s = fabsl (x) - one; in __erfl() 307 return one - tiny; in __erfl() 309 return tiny - one; in __erfl() 312 s = one / (x * x); in __erfl() 335 return one - r / x; in __erfl() 337 return r / x - one; in __erfl() 353 return (long double) (((se & 0xffff) >> 15) << 1) + one / x; in libm_alias_ldouble() 360 return one - x; in libm_alias_ldouble() [all …]
|
D | e_j0l.c | 83 one = 1.0L, variable 118 return one / (x * x); in __ieee754_j0l() 152 return one; in __ieee754_j0l() 154 return one - 0.25 * x * x; in __ieee754_j0l() 161 return (one - 0.25 * z + z * (r / s)); in __ieee754_j0l() 166 return ((one + u) * (one - u) + z * (r / s)); in __ieee754_j0l() 207 return one / (x + x * x); in __ieee754_y0l() 386 z = one / (x * x); in pzero() 392 return (one + z * r / s); in pzero() 524 z = one / (x * x); in qzero()
|
/glibc-2.36/sysdeps/ieee754/ldbl-128/ |
D | s_tanhl.c | 45 static const _Float128 one = 1.0, two = 2.0, tiny = L(1.0e-4900); variable 63 return one / x - one; /* tanhl(-inf)= -1; */ in __tanhl() 65 return one / x + one; /* tanhl(+inf)=+1 */ in __tanhl() 76 return x * (one + tiny); /* tanh(small) = small */ in __tanhl() 82 z = one - two / (t + two); in __tanhl() 93 z = one - tiny; /* raised inexact flag */ in __tanhl()
|
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm/ |
D | s_tanhl.c | 47 static const long double one=1.0L, two=2.0L, tiny = 1.0e-300L; variable 62 if (jx>=0) return one/x+one; /* tanh(+-inf)=+-1 */ in __tanhl() 63 else return one/x-one; /* tanh(NaN) = NaN */ in __tanhl() 77 z = one - two/(t+two); in __tanhl() 84 z = one - tiny; /* raised inexact flag */ in __tanhl()
|
/glibc-2.36/sysdeps/i386/fpu/ |
D | s_asinh.S | 28 .type one,@object 29 one: .double 1.0 label 30 ASM_SIZE_DIRECTIVE(one) 69 faddl MO(one) // 1+|x|^2 : |x|^2 : |x| : log(2) 71 faddl MO(one) // 1+sqrt(1+|x|^2) : |x|^2 : |x| : log(2) 86 6: faddl MO(one) 129 faddl MO(one) // 1+|x|^2 : |x| : 2*|x| : log(2) 132 fdivrl MO(one) // 1/(|x|+sqrt(1+|x|^2)) : 2*|x| : log(2)
|
D | s_asinhf.S | 28 .type one,@object 29 one: .double 1.0 label 30 ASM_SIZE_DIRECTIVE(one) 69 faddl MO(one) // 1+|x|^2 : |x|^2 : |x| : log(2) 71 faddl MO(one) // 1+sqrt(1+|x|^2) : |x|^2 : |x| : log(2) 86 6: faddl MO(one) 129 faddl MO(one) // 1+|x|^2 : |x| : 2*|x| : log(2) 132 fdivrl MO(one) // 1/(|x|+sqrt(1+|x|^2)) : 2*|x| : log(2)
|
D | s_asinhl.S | 32 .type one,@object 33 one: .double 1.0 label 34 ASM_SIZE_DIRECTIVE(one) 76 faddl MO(one) // 1+|x|^2 : |x|^2 : |x| : log(2) 78 faddl MO(one) // 1+sqrt(1+|x|^2) : |x|^2 : |x| : log(2) 94 6: faddl MO(one) 134 faddl MO(one) // 1+|x|^2 : |x| : 2*|x| : log(2) 137 fdivrl MO(one) // 1/(|x|+sqrt(1+|x|^2)) : 2*|x| : log(2)
|
D | e_acosh.S | 25 .type one,@object 26 one: .double 1.0 label 27 ASM_SIZE_DIRECTIVE(one) 54 fsubl MO(one) // x-1 : log(2) 69 2: faddl MO(one) // x+sqrt(2*(x-1)+(x-1)^2) : log(2) 86 fsubl MO(one) // x^2-1 : x : 2*x : log(2) 89 fdivrl MO(one) // 1/(x+sqrt(x^2-1)) : 2*x : log(2)
|
D | e_acoshf.S | 25 .type one,@object 26 one: .double 1.0 label 27 ASM_SIZE_DIRECTIVE(one) 54 fsubl MO(one) // x-1 : log(2) 69 2: faddl MO(one) // x+sqrt(2*(x-1)+(x-1)^2) : log(2) 86 fsubl MO(one) // x^2-1 : x : 2*x : log(2) 89 fdivrl MO(one) // 1/(x+sqrt(x^2-1)) : 2*x : log(2)
|
D | e_acoshl.S | 28 .type one,@object 29 one: .double 1.0 label 30 ASM_SIZE_DIRECTIVE(one) 61 fsubl MO(one) // x-1 : log(2) 76 2: faddl MO(one) // x+sqrt(2*(x-1)+(x-1)^2) : log(2) 93 fsubl MO(one) // x^2-1 : x : 2*x : log(2) 96 fdivrl MO(one) // 1/(x+sqrt(x^2-1)) : 2*x : log(2)
|
D | e_atanh.S | 29 .type one,@object 30 one: .double 1.0 label 31 ASM_SIZE_DIRECTIVE(one) 73 fsubrl MO(one) // 1-|x| : |x| : 2*|x| : 0.5*ln2 89 4: faddl MO(one) // 1+2*|x|+(2*|x|^2)/(1-|x|) : 0.5*ln2 96 2: faddl MO(one) // 1+|x| : |x| : 0.5*ln2 98 fsubrl MO(one) // 1-|x| : 1+|x| : 0.5*ln2
|