Searched refs:lo (Results 1 - 25 of 30) sorted by relevance

12

/bionic/libm/upstream-freebsd/lib/msun/src/
H A Ds_cosl.c56 long double hi, lo; local
77 lo = y[1];
81 hi = __kernel_cosl(hi, lo);
84 hi = - __kernel_sinl(hi, lo, 1);
87 hi = - __kernel_cosl(hi, lo);
90 hi = __kernel_sinl(hi, lo, 1);
H A Ds_sinl.c51 long double hi, lo; local
75 lo = y[1];
79 hi = __kernel_sinl(hi, lo, 1);
82 hi = __kernel_cosl(hi, lo);
85 hi = - __kernel_sinl(hi, lo, 1);
88 hi = - __kernel_cosl(hi, lo);
H A Ds_tanl.c57 long double hi, lo; local
81 lo = y[1];
86 hi = __kernel_tanl(hi, lo, 0);
90 hi = __kernel_tanl(hi, lo, 1);
H A Ds_fmal.c43 long double lo; member in struct:dd
59 ret.lo = (a - (ret.hi - s)) + (b - s);
81 if (sum.lo != 0) {
84 sum.hi = nextafterl(sum.hi, INFINITY * sum.lo);
107 * bits in sum.lo. With the sticky bit adjusted, the hardware will
113 if (sum.lo != 0) {
117 sum.hi = nextafterl(sum.hi, INFINITY * sum.lo);
152 ret.lo = p - ret.hi + q + la * lb;
235 * (xy.hi, xy.lo) = x * y (exact)
236 * (r.hi, r.lo)
[all...]
H A De_log10f.c36 float f,hfsq,hi,lo,r,y; local
69 lo = (f - hi) - hfsq + r;
70 return y*log10_2lo + (lo+hi)*ivln10lo + lo*ivln10hi + hi*ivln10hi +
H A De_log2.c44 double f,hfsq,hi,lo,r,val_hi,val_lo,w,y; local
76 * keeps R small (though not as small as a true `lo' term would be),
80 * theorem for spitting f-hfsq as hi+lo, unless double_t was used
103 lo = (f - hi) - hfsq + r;
105 val_lo = (lo+hi)*ivln2lo + lo*ivln2hi;
H A De_log2f.c34 float f,hfsq,hi,lo,r,y; local
80 lo = (f - hi) - hfsq + r;
81 return (lo+hi)*ivln2lo + lo*ivln2hi + hi*ivln2hi + y;
H A De_exp.c26 * Here r will be represented as r = hi-lo for better
107 double y,hi=0.0,lo=0.0,c,t,twopk; local
131 hi = x-ln2HI[xsb]; lo=ln2LO[xsb]; k = 1-xsb-xsb;
136 lo = t*ln2LO[0];
138 STRICT_ASSIGN(double, x, hi - lo);
153 else y = one-((lo-(x*c)/(2.0-c))-hi);
H A De_expf.c48 float y,hi=0.0,lo=0.0,c,t,twopk; local
69 hi = x-ln2HI[xsb]; lo=ln2LO[xsb]; k = 1-xsb-xsb;
74 lo = t*ln2LO[0];
76 STRICT_ASSIGN(float, x, hi - lo);
91 else y = one-((lo-(x*c)/((float)2.0-c))-hi);
H A Ds_expm1f.c44 float y,hi,lo,c,t,e,hxs,hfx,r1,twopk; local
71 {hi = x - ln2_hi; lo = ln2_lo; k = 1;}
73 {hi = x + ln2_hi; lo = -ln2_lo; k = -1;}
78 lo = t*ln2_lo;
80 STRICT_ASSIGN(float, x, hi - lo);
81 c = (hi-x)-lo;
H A De_log10.c44 double f,hfsq,hi,lo,r,val_hi,val_lo,w,y,y2; local
74 lo = (f - hi) - hfsq + r;
77 val_lo = y*log10_2lo + (lo+hi)*ivln10lo + lo*ivln10hi;
H A Ds_fma.c43 double lo; member in struct:dd
59 ret.lo = (a - (ret.hi - s)) + (b - s);
81 if (sum.lo != 0) {
84 /* hibits += (int)copysign(1.0, sum.hi * sum.lo) */
85 EXTRACT_WORD64(lobits, sum.lo);
111 * bits in sum.lo. With the sticky bit adjusted, the hardware will
117 if (sum.lo != 0) {
121 /* hibits += (int)copysign(1.0, sum.hi * sum.lo) */
122 EXTRACT_WORD64(lobits, sum.lo);
156 ret.lo
[all...]
H A De_sqrtl.c80 long double lo, xn; local
128 lo = u.e;
130 lo = (lo - u.e) / xn; /* Low bits divided by xn. */
132 u.e = xn + lo; /* Combine everything. */
H A Ds_expm1.c135 double y,hi,lo,c,t,e,hxs,hfx,r1,twopk; local
165 {hi = x - ln2_hi; lo = ln2_lo; k = 1;}
167 {hi = x + ln2_hi; lo = -ln2_lo; k = -1;}
172 lo = t*ln2_lo;
174 STRICT_ASSIGN(double, x, hi - lo);
175 c = (hi-x)-lo;
H A De_coshl.c88 long double hi,lo,x2,x4; local
120 k_hexpl(fabsl(x), &hi, &lo); local
121 RETURNI(lo + 0.25/(hi + lo) + hi);
H A De_sinhl.c87 long double hi,lo,x2,x4; local
121 k_hexpl(fabsl(x), &hi, &lo); local
122 RETURNI(s*(lo - 0.25/(hi + lo) + hi));
H A Ds_tanhl.c115 long double hi,lo,s,x2,x4,z; local
160 k_hexpl(2*fabsl(x), &hi, &lo);
162 z = divl(hi, lo, -0.5, hi, lo, 0.5);
164 z = one - one/(lo+0.5+hi);
H A Dmath_private.h575 #define DOPRINT_END2(hi, lo) \
577 (long double)(hi), (long double)(lo))
591 #define DOPRINT_END2(hi, lo) \
593 (long double)(hi), (long double)(lo))
607 #define DOPRINT_END2(hi, lo) \
609 (long double)(hi), (long double)(lo))
629 #define DOPRINT_END2(hi, lo) \
631 (long double)(hi), (long double)(lo))
638 #define DOPRINT_END2(hi, lo)
661 RETURN2P((rp)->hi, (rp)->lo); \
[all...]
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/
H A Db_exp.c92 double z,hi,lo,c;
105 /* express x-k*ln2 as hi-lo and let x=hi-lo rounded */
108 x=hi-(lo=k*ln2lo);
113 return scalb(1.0+(hi-(lo-(x*c)/(2.0-c))),k);
138 double z,hi,lo; local
150 /* express (x+c)-k*ln2 as hi-lo and let x=hi-lo rounded */
153 x= hi - (lo = k*ln2lo-c);
159 return scalb(1.+(hi-(lo
[all...]
/bionic/libm/upstream-freebsd/lib/msun/ld128/
H A Ds_expl.c62 long double hi, lo, t, twopk; local
89 __k_expl(x, &hi, &lo, &k);
90 t = SUM2P(hi, lo);
295 t = tbl[n2].lo + tbl[n2].hi;
298 t = SUM2P(tbl[n2].hi - 1, tbl[n2].lo * (r1 + 1) + t * q +
303 t = SUM2P(tbl[n2].hi - 2, tbl[n2].lo * (r1 + 1) + t * q +
308 t = SUM2P(tbl[n2].hi, tbl[n2].lo + t * (q + r1));
312 t = SUM2P(tbl[n2].hi, tbl[n2].lo + t * (q + r1));
322 t = SUM2P(tbl[n2].hi, tbl[n2].lo - twomk + t * (q + r1));
324 t = SUM2P(tbl[n2].hi - twomk, tbl[n2].lo
[all...]
H A Dk_expl.h47 * ln2/INTERVALS = L1+L2 (hi+lo decomposition for multiplication). L1 must
87 * XXX it is wasteful to use long double for both hi and lo. ld128
88 * exp2l() uses only float for lo (in a very differently organized
100 long double lo; member in struct:__anon1060
266 t = tbl[n2].lo + tbl[n2].hi;
268 *lop = tbl[n2].lo + t * (q + r1);
292 long double hi, lo, twopkm2; local
296 __k_expl(x, &hi, &lo, &k);
298 return (lo + hi) * 2 * twopkm2;
308 long double exp_x, hi, lo; local
[all...]
H A Ds_logl.c432 (rp)->lo = (l); \
439 long double lo; member in struct:ld
542 * for accuracy. Horner's method doesn't handle the `lo' term
545 * by P2 being exact, and this gives a good place to sum the 'lo'
619 * Since x+x_lo is a hi+lo decomposition and subtracting 1
703 long double lo; local
711 _2sumF(r.hi, r.lo);
713 lo = r.lo + (r.hi - hi);
715 (invln10_lo + invln10_hi) * lo
722 long double lo; local
[all...]
/bionic/libc/kernel/uapi/asm-mips/asm/
H A Dptrace.h39 __u64 lo; member in struct:pt_regs
/bionic/libc/upstream-netbsd/common/lib/libc/stdlib/
H A Drandom.c277 int x1, hi, lo, t; local
288 lo = x1 % 127773;
289 t = 16807 * lo - 2836 * hi;
513 long x, hi, lo, t; local
523 lo = x % 127773;
524 t = 16807 * lo - 2836 * hi;
/bionic/libc/bionic/
H A Dpthread_attr.cpp170 uintptr_t lo, hi; local
171 if (sscanf(line, "%" SCNxPTR "-%" SCNxPTR, &lo, &hi) == 2) {
172 if (lo <= startstack && startstack <= hi) {

Completed in 359 milliseconds

12