Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 137) sorted by relevance

123456

/bionic/libm/upstream-freebsd/lib/msun/src/
De_asin.c73 double t=0.0,w,p,q,c,r,s; in __ieee754_asin() local
88 t = x*x; in __ieee754_asin()
89 p = t*(pS0+t*(pS1+t*(pS2+t*(pS3+t*(pS4+t*pS5))))); in __ieee754_asin()
90 q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4))); in __ieee754_asin()
96 t = w*0.5; in __ieee754_asin()
97 p = t*(pS0+t*(pS1+t*(pS2+t*(pS3+t*(pS4+t*pS5))))); in __ieee754_asin()
98 q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4))); in __ieee754_asin()
99 s = sqrt(t); in __ieee754_asin()
102 t = pio2_hi-(2.0*(s+s*w)-pio2_lo); in __ieee754_asin()
106 c = (t-w*w)/(s+w); in __ieee754_asin()
[all …]
Ds_cbrt.c44 double r,s,t=0.0,w; in cbrt() local
71 SET_HIGH_WORD(t,0x43500000); /* set t= 2**54 */ in cbrt()
72 t*=x; in cbrt()
73 GET_HIGH_WORD(high,t); in cbrt()
74 INSERT_WORDS(t,sign|((high&0x7fffffff)/3+B2),0); in cbrt()
76 INSERT_WORDS(t,sign|(hx/3+B1),0); in cbrt()
88 r=(t*t)*(t/x); in cbrt()
89 t=t*((P0+r*(P1+r*P2))+((r*r)*r)*(P3+r*P4)); in cbrt()
101 u.value=t; in cbrt()
103 t=u.value; in cbrt()
[all …]
Ds_roundf.c36 float t; in roundf() local
44 t = floorf(x); in roundf()
45 if (t - x <= -0.5F) in roundf()
46 t += 1; in roundf()
47 return (t); in roundf()
49 t = floorf(-x); in roundf()
50 if (t + x <= -0.5F) in roundf()
51 t += 1; in roundf()
52 return (-t); in roundf()
Ds_round.c38 double t; in round() local
46 t = floor(x); in round()
47 if (t - x <= -0.5) in round()
48 t += 1; in round()
49 return (t); in round()
51 t = floor(-x); in round()
52 if (t + x <= -0.5) in round()
53 t += 1; in round()
54 return (-t); in round()
Ds_roundl.c42 long double t; in roundl() local
52 t = floorl(x); in roundl()
53 if (t - x <= -0.5L) in roundl()
54 t += 1; in roundl()
55 RETURNI(t); in roundl()
57 t = floorl(-x); in roundl()
58 if (t + x <= -0.5L) in roundl()
59 t += 1; in roundl()
60 RETURNI(-t); in roundl()
De_asinf.c38 float t,w,p,q; in __ieee754_asinf() local
50 t = x*x; in __ieee754_asinf()
51 p = t*(pS0+t*(pS1+t*pS2)); in __ieee754_asinf()
52 q = one+t*qS1; in __ieee754_asinf()
58 t = w*(float)0.5; in __ieee754_asinf()
59 p = t*(pS0+t*(pS1+t*pS2)); in __ieee754_asinf()
60 q = one+t*qS1; in __ieee754_asinf()
61 s = sqrt(t); in __ieee754_asinf()
63 t = pio2-2.0*(s+s*w); in __ieee754_asinf()
64 if(hx>0) return t; else return -t; in __ieee754_asinf()
De_acoshf.c29 float t; in __ieee754_acoshf() local
42 t=x*x; in __ieee754_acoshf()
43 return __ieee754_logf((float)2.0*x-one/(x+__ieee754_sqrtf(t-one))); in __ieee754_acoshf()
45 t = x-one; in __ieee754_acoshf()
46 return log1pf(t+__ieee754_sqrtf((float)2.0*t+t*t)); in __ieee754_acoshf()
De_sinhf.c27 float t,h; in __ieee754_sinhf() local
42 t = expm1f(fabsf(x)); in __ieee754_sinhf()
43 if(ix<0x3f800000) return h*((float)2.0*t-t*t/(t+one)); in __ieee754_sinhf()
44 return h*(t+t/(t+one)); in __ieee754_sinhf()
De_sinh.c45 double t,h; in __ieee754_sinh() local
61 t = expm1(fabs(x)); in __ieee754_sinh()
62 if(ix<0x3ff00000) return h*(2.0*t-t*t/(t+one)); in __ieee754_sinh()
63 return h*(t+t/(t+one)); in __ieee754_sinh()
De_atanhf.c29 float t; in __ieee754_atanhf() local
40 t = x+x; in __ieee754_atanhf()
41 t = (float)0.5*log1pf(t+t*x/(one-x)); in __ieee754_atanhf()
43 t = (float)0.5*log1pf((x+x)/(one-x)); in __ieee754_atanhf()
44 if(hx>=0) return t; else return -t; in __ieee754_atanhf()
De_acosh.c44 double t; in __ieee754_acosh() local
58 t=x*x; in __ieee754_acosh()
59 return __ieee754_log(2.0*x-one/(x+sqrt(t-one))); in __ieee754_acosh()
61 t = x-one; in __ieee754_acosh()
62 return log1p(t+sqrt(2.0*t+t*t)); in __ieee754_acosh()
De_coshf.c27 float t,w; in __ieee754_coshf() local
38 t = expm1f(fabsf(x)); in __ieee754_coshf()
39 w = one+t; in __ieee754_coshf()
41 return one+(t*t)/(w+w); in __ieee754_coshf()
46 t = __ieee754_expf(fabsf(x)); in __ieee754_coshf()
47 return half*t+half/t; in __ieee754_coshf()
De_cosh.c48 double t,w; in __ieee754_cosh() local
60 t = expm1(fabs(x)); in __ieee754_cosh()
61 w = one+t; in __ieee754_cosh()
63 return one+(t*t)/(w+w); in __ieee754_cosh()
68 t = __ieee754_exp(fabs(x)); in __ieee754_cosh()
69 return half*t+half/t; in __ieee754_cosh()
Ds_csqrtf.c48 double t; in csqrtf() local
56 t = (b - b) / (b - b); /* raise invalid if b is not a NaN */ in csqrtf()
57 return (cpackf(a, t)); /* return NaN + NaN i */ in csqrtf()
82 t = sqrt((a + hypot(a, b)) * 0.5); in csqrtf()
83 return (cpackf(t, b / (2.0 * t))); in csqrtf()
85 t = sqrt((-a + hypot(a, b)) * 0.5); in csqrtf()
86 return (cpackf(fabsf(b) / (2.0 * t), copysignf(t, b))); in csqrtf()
De_asinl.c37 long double t=0.0,w,p,q,c,r,s; in asinl() local
51 t = x*x; in asinl()
52 p = P(t); in asinl()
53 q = Q(t); in asinl()
59 t = w*0.5; in asinl()
60 p = P(t); in asinl()
61 q = Q(t); in asinl()
62 s = sqrtl(t); in asinl()
65 t = pio2_hi-(2.0*(s+s*w)-pio2_lo); in asinl()
70 c = (t-w*w)/(s+w); in asinl()
[all …]
De_atanh.c47 double t; in __ieee754_atanh() local
59 t = x+x; in __ieee754_atanh()
60 t = 0.5*log1p(t+t*x/(one-x)); in __ieee754_atanh()
62 t = 0.5*log1p((x+x)/(one-x)); in __ieee754_atanh()
63 if(hx>=0) return t; else return -t; in __ieee754_atanh()
De_atanhl.c57 long double t; in atanhl() local
69 t = x+x; in atanhl()
70 t = 0.5*log1pl(t+t*x/(one-x)); in atanhl()
72 t = 0.5*log1pl((x+x)/(one-x)); in atanhl()
73 RETURNI((hx & 0x8000) == 0 ? t : -t); in atanhl()
Ds_asinhf.c30 float t,w; in asinhf() local
41 t = fabsf(x); in asinhf()
42 w = __ieee754_logf((float)2.0*t+one/(__ieee754_sqrtf(x*x+one)+t)); in asinhf()
44 t = x*x; in asinhf()
45 w =log1pf(fabsf(x)+t/(one+__ieee754_sqrtf(one+t))); in asinhf()
De_acoshl.c68 long double t; in acoshl() local
83 t=x*x; in acoshl()
84 RETURNI(logl(2.0*x-one/(x+sqrtl(t-one)))); in acoshl()
86 t = x-one; in acoshl()
87 RETURNI(log1pl(t+sqrtl(2.0*t+t*t))); in acoshl()
Ds_cbrtl.c38 long double r, s, t, w; in cbrtl() local
116 t = dt + vd - 0x1.0p32; in cbrtl()
126 t = dt + 0x2.0p-46 + 0x1.0p60L - 0x1.0p60; in cbrtl()
135 s=t*t; /* t*t is exact */ in cbrtl()
137 w=t+t; /* t+t is exact */ in cbrtl()
138 r=(r-t)/(w+r); /* r-t is exact; w+r ~= 3*t */ in cbrtl()
139 t=t+t*r; /* error <= 0.5 + 0.5/3 + epsilon */ in cbrtl()
141 t *= v.e; in cbrtl()
142 RETURNI(t); in cbrtl()
/bionic/libc/upstream-openbsd/lib/libc/string/
Dmemmove.c53 size_t t; in memmove() local
61 #define TLOOP(s) if (t) TLOOP1(s) in memmove()
62 #define TLOOP1(s) do { s; } while (--t) in memmove()
68 t = (long)src; /* only need low bits */ in memmove()
69 if ((t | (long)dst) & wmask) { in memmove()
74 if ((t ^ (long)dst) & wmask || length < wsize) in memmove()
75 t = length; in memmove()
77 t = wsize - (t & wmask); in memmove()
78 length -= t; in memmove()
84 t = length / wsize; in memmove()
[all …]
/bionic/libc/tzcode/
Dstrftime.c136 const struct tm *const t) in strftime() argument
146 p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn); in strftime()
186 _fmt(const char *format, const struct tm *const t, char * pt, in _fmt() argument
198 pt = _add((t->tm_wday < 0 || in _fmt()
199 t->tm_wday >= DAYSPERWEEK) ? in _fmt()
200 "?" : Locale->weekday[t->tm_wday], in _fmt()
204 pt = _add((t->tm_wday < 0 || in _fmt()
205 t->tm_wday >= DAYSPERWEEK) ? in _fmt()
206 "?" : Locale->wday[t->tm_wday], in _fmt()
210 pt = _add((t->tm_mon < 0 || in _fmt()
[all …]
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/
Db_tgamma.c160 struct Double t, u, v; local
171 t.a = v.a*u.a; /* t = (x-.5)*(log(x)-1) */
172 t.b = v.b*u.a + x*u.b;
174 t.b += lns2pi_lo; t.b += p;
175 u.a = lns2pi_hi + t.b; u.a += t.a;
176 u.b = t.a - u.a;
177 u.b += lns2pi_hi; u.b += t.b;
188 double y, ym1, t; local
203 t = r.a*yy.a;
205 r.a = t;
[all …]
/bionic/libc/upstream-openbsd/lib/libc/time/
Dwcsftime.c120 const wchar_t *__restrict format, const struct tm *__restrict t) in wcsftime() argument
127 p = _fmt(((format == NULL) ? L"%c" : format), t, s, s + maxsize, &warn); in wcsftime()
138 _fmt(const wchar_t *format, const struct tm *t, wchar_t *pt, in _fmt() argument
154 pt = _add((t->tm_wday < 0 || in _fmt()
155 t->tm_wday >= DAYSPERWEEK) ? in _fmt()
156 UNKNOWN : Locale->weekday[t->tm_wday], in _fmt()
160 pt = _add((t->tm_wday < 0 || in _fmt()
161 t->tm_wday >= DAYSPERWEEK) ? in _fmt()
162 UNKNOWN : Locale->wday[t->tm_wday], in _fmt()
166 pt = _add((t->tm_mon < 0 || in _fmt()
[all …]
/bionic/libc/dns/resolv/
Dherror.c100 char *t; in herror() local
103 DE_CONST(s, t); in herror()
104 v->iov_base = t; in herror()
105 v->iov_len = strlen(t); in herror()
107 DE_CONST(": ", t); in herror()
108 v->iov_base = t; in herror()
112 DE_CONST(hstrerror(h_errno), t); in herror()
113 v->iov_base = t; in herror()
116 DE_CONST("\n", t); in herror()
117 v->iov_base = t; in herror()

123456