Home
last modified time | relevance | path

Searched refs:lo (Results 1 – 25 of 33) sorted by relevance

12

/bionic/libm/upstream-freebsd/lib/msun/src/
Dk_sinpi.h35 double_t hi, lo; in __kernel_sinpi() local
38 lo = x - hi; in __kernel_sinpi()
39 lo = lo * (pi_lo + pi_hi) + hi * pi_lo; in __kernel_sinpi()
41 _2sumF(hi, lo); in __kernel_sinpi()
42 return (__kernel_sin(hi, lo, 1)); in __kernel_sinpi()
Dk_cospi.h35 double_t hi, lo; in __kernel_cospi() local
38 lo = x - hi; in __kernel_cospi()
39 lo = lo * (pi_lo + pi_hi) + hi * pi_lo; in __kernel_cospi()
41 _2sumF(hi, lo); in __kernel_cospi()
42 return (__kernel_cos(hi, lo)); in __kernel_cospi()
Ds_sinl.c53 long double hi, lo; in sinl() local
77 lo = y[1]; in sinl()
81 hi = __kernel_sinl(hi, lo, 1); in sinl()
84 hi = __kernel_cosl(hi, lo); in sinl()
87 hi = - __kernel_sinl(hi, lo, 1); in sinl()
90 hi = - __kernel_cosl(hi, lo); in sinl()
Ds_cosl.c63 long double hi, lo; in cosl() local
84 lo = y[1]; in cosl()
88 hi = __kernel_cosl(hi, lo); in cosl()
91 hi = - __kernel_sinl(hi, lo, 1); in cosl()
94 hi = - __kernel_cosl(hi, lo); in cosl()
97 hi = __kernel_sinl(hi, lo, 1); in cosl()
Ds_fmal.c45 long double lo; member
61 ret.lo = (a - (ret.hi - s)) + (b - s); in dd_add()
83 if (sum.lo != 0) { in add_adjusted()
86 sum.hi = nextafterl(sum.hi, INFINITY * sum.lo); in add_adjusted()
115 if (sum.lo != 0) { in add_and_denormalize()
119 sum.hi = nextafterl(sum.hi, INFINITY * sum.lo); in add_and_denormalize()
154 ret.lo = p - ret.hi + q + la * lb; in dd_mul()
254 return (xy.hi + vzs + ldexpl(xy.lo, spread)); in fmal()
264 volatile long double vrlo = r.lo; in fmal()
265 adj = vrlo + xy.lo; in fmal()
[all …]
Ds_fma.c52 double lo; member
68 ret.lo = (a - (ret.hi - s)) + (b - s); in dd_add()
90 if (sum.lo != 0) { in add_adjusted()
94 EXTRACT_WORD64(lobits, sum.lo); in add_adjusted()
126 if (sum.lo != 0) { in add_and_denormalize()
131 EXTRACT_WORD64(lobits, sum.lo); in add_and_denormalize()
165 ret.lo = p - ret.hi + q + la * lb; in dd_mul()
273 return (xy.hi + vzs + ldexp(xy.lo, spread)); in fma()
283 volatile double vrlo = r.lo; in fma()
284 adj = vrlo + xy.lo; in fma()
[all …]
Ds_tanl.c59 long double hi, lo; in tanl() local
83 lo = y[1]; in tanl()
88 hi = __kernel_tanl(hi, lo, 0); in tanl()
92 hi = __kernel_tanl(hi, lo, 1); in tanl()
Ds_expm1f.c44 float y,hi,lo,c,t,e,hxs,hfx,r1,twopk; in expm1f() local
71 {hi = x - ln2_hi; lo = ln2_lo; k = 1;} in expm1f()
73 {hi = x + ln2_hi; lo = -ln2_lo; k = -1;} in expm1f()
78 lo = t*ln2_lo; in expm1f()
80 STRICT_ASSIGN(float, x, hi - lo); in expm1f()
81 c = (hi-x)-lo; in expm1f()
De_expf.c48 float y,hi=0.0,lo=0.0,c,t,twopk; in expf() local
69 hi = x-ln2HI[xsb]; lo=ln2LO[xsb]; k = 1-xsb-xsb; in expf()
74 lo = t*ln2LO[0]; in expf()
76 STRICT_ASSIGN(float, x, hi - lo); in expf()
91 else y = one-((lo-(x*c)/((float)2.0-c))-hi); in expf()
De_exp.c107 double y,hi=0.0,lo=0.0,c,t,twopk; in exp() local
131 hi = x-ln2HI[xsb]; lo=ln2LO[xsb]; k = 1-xsb-xsb; in exp()
136 lo = t*ln2LO[0]; in exp()
138 STRICT_ASSIGN(double, x, hi - lo); in exp()
153 else y = one-((lo-(x*c)/(2.0-c))-hi); in exp()
De_log2f.c34 float f,hfsq,hi,lo,r,y; in log2f() local
80 lo = (f - hi) - hfsq + r; in log2f()
81 return (lo+hi)*ivln2lo + lo*ivln2hi + hi*ivln2hi + y; in log2f()
Ds_expm1.c135 double y,hi,lo,c,t,e,hxs,hfx,r1,twopk; in expm1() local
165 {hi = x - ln2_hi; lo = ln2_lo; k = 1;} in expm1()
167 {hi = x + ln2_hi; lo = -ln2_lo; k = -1;} in expm1()
172 lo = t*ln2_lo; in expm1()
174 STRICT_ASSIGN(double, x, hi - lo); in expm1()
175 c = (hi-x)-lo; in expm1()
De_log10f.c36 float f,hfsq,hi,lo,r,y; in log10f() local
69 lo = (f - hi) - hfsq + r; in log10f()
70 return y*log10_2lo + (lo+hi)*ivln10lo + lo*ivln10hi + hi*ivln10hi + in log10f()
De_log2.c44 double f,hfsq,hi,lo,r,val_hi,val_lo,w,y; in log2() local
103 lo = (f - hi) - hfsq + r; in log2()
105 val_lo = (lo+hi)*ivln2lo + lo*ivln2hi; in log2()
De_log10.c44 double f,hfsq,hi,lo,r,val_hi,val_lo,w,y,y2; in log10() local
74 lo = (f - hi) - hfsq + r; in log10()
77 val_lo = y*log10_2lo + (lo+hi)*ivln10lo + lo*ivln10hi; in log10()
De_sqrtl.c82 long double lo, xn; in sqrtl() local
130 lo = u.e; in sqrtl()
132 lo = (lo - u.e) / xn; /* Low bits divided by xn. */ in sqrtl()
134 u.e = xn + lo; /* Combine everything. */ in sqrtl()
De_coshl.c88 long double hi,lo,x2,x4; in coshl() local
122 k_hexpl(fabsl(x), &hi, &lo); in coshl()
123 RETURNI(lo + 0.25/(hi + lo) + hi); in coshl()
De_sinhl.c87 long double hi,lo,x2,x4; in sinhl() local
124 k_hexpl(fabsl(x), &hi, &lo); in sinhl()
125 RETURNI(s*(lo - 0.25/(hi + lo) + hi)); in sinhl()
Ds_tanhl.c115 long double hi,lo,s,x2,x4,z; in tanhl() local
162 k_hexpl(2*fabsl(x), &hi, &lo); in tanhl()
164 z = divl(hi, lo, -0.5, hi, lo, 0.5); in tanhl()
166 z = one - one/(lo+0.5+hi); in tanhl()
/bionic/libm/upstream-freebsd/lib/msun/ld128/
Dk_expl.h102 long double lo; member
260 t = tbl[n2].lo + tbl[n2].hi; in __k_expl()
262 *lop = tbl[n2].lo + t * (q + r1); in __k_expl()
287 long double hi, lo, twopkm2; in hexpl() local
291 __k_expl(x, &hi, &lo, &k); in hexpl()
293 return (lo + hi) * 2 * twopkm2; in hexpl()
303 long double c, exp_x, hi, lo, s; in __ldexp_cexpl() local
309 __k_expl(x, &hi, &lo, &k); in __ldexp_cexpl()
311 exp_x = (lo + hi) * 0x1p16382L; in __ldexp_cexpl()
Ds_logl.c434 (rp)->lo = (l); \
441 long double lo; member
706 long double hi, lo; in log10l() local
712 _2sumF(r.hi, r.lo); in log10l()
714 lo = r.lo + (r.hi - hi); in log10l()
715 RETURNI(invln10_hi * hi + (invln10_lo_plus_hi * lo + invln10_lo * hi)); in log10l()
722 long double hi, lo; in log2l() local
728 _2sumF(r.hi, r.lo); in log2l()
730 lo = r.lo + (r.hi - hi); in log2l()
731 RETURNI(invln2_hi * hi + (invln2_lo_plus_hi * lo + invln2_lo * hi)); in log2l()
Ds_expl.c64 long double hi, lo, t, twopk; in expl() local
89 __k_expl(x, &hi, &lo, &k); in expl()
90 t = SUM2P(hi, lo); in expl()
291 t = tbl[n2].lo + tbl[n2].hi; in expm1l()
294 t = SUM2P(tbl[n2].hi - 1, tbl[n2].lo * (r1 + 1) + t * q + in expm1l()
299 t = SUM2P(tbl[n2].hi - 2, tbl[n2].lo * (r1 + 1) + t * q + in expm1l()
304 t = SUM2P(tbl[n2].hi, tbl[n2].lo + t * (q + r1)); in expm1l()
308 t = SUM2P(tbl[n2].hi, tbl[n2].lo + t * (q + r1)); in expm1l()
318 t = SUM2P(tbl[n2].hi, tbl[n2].lo - twomk + t * (q + r1)); in expm1l()
320 t = SUM2P(tbl[n2].hi - twomk, tbl[n2].lo + t * (q + r1)); in expm1l()
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/
Db_exp.c92 double hi, lo, z; in __exp__D() local
109 lo = k * ln2lo - c; in __exp__D()
110 x = hi - lo; in __exp__D()
118 return (ldexp(1 + (hi - (lo - c)), k)); in __exp__D()
/bionic/libc/bionic/
Dpthread_internal.cpp166 uintptr_t lo, hi; in __find_main_stack_limits() local
167 if (sscanf(line, "%" SCNxPTR "-%" SCNxPTR, &lo, &hi) == 2) { in __find_main_stack_limits()
168 if (lo <= startstack && startstack <= hi) { in __find_main_stack_limits()
169 *low = lo; in __find_main_stack_limits()
185 uintptr_t lo, hi; in __pthread_internal_remap_stack_with_mte() local
186 __find_main_stack_limits(&lo, &hi); in __pthread_internal_remap_stack_with_mte()
188 if (mprotect(reinterpret_cast<void*>(lo), hi - lo, in __pthread_internal_remap_stack_with_mte()
/bionic/tests/libs/
Dtestbinary_is_stack_mte_after_dlopen.cpp60 uintptr_t lo, hi; in find_main_stack_limits() local
61 if (sscanf(line, "%" SCNxPTR "-%" SCNxPTR, &lo, &hi) == 2) { in find_main_stack_limits()
62 if (lo <= startstack && startstack <= hi) { in find_main_stack_limits()
63 *low = lo; in find_main_stack_limits()

12