/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | s_cosl.c | 58 long double hi, lo; in cosl() local 79 lo = y[1]; in cosl() 83 hi = __kernel_cosl(hi, lo); in cosl() 86 hi = - __kernel_sinl(hi, lo, 1); in cosl() 89 hi = - __kernel_cosl(hi, lo); in cosl() 92 hi = __kernel_sinl(hi, lo, 1); in cosl()
|
D | s_sinl.c | 53 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()
|
D | s_tanl.c | 59 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()
|
D | s_fmal.c | 45 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 …]
|
D | s_fma.c | 45 double lo; member 61 ret.lo = (a - (ret.hi - s)) + (b - s); in dd_add() 83 if (sum.lo != 0) { in add_adjusted() 87 EXTRACT_WORD64(lobits, sum.lo); in add_adjusted() 119 if (sum.lo != 0) { in add_and_denormalize() 124 EXTRACT_WORD64(lobits, sum.lo); in add_and_denormalize() 158 ret.lo = p - ret.hi + q + la * lb; in dd_mul() 266 return (xy.hi + vzs + ldexp(xy.lo, spread)); in fma() 276 volatile double vrlo = r.lo; in fma() 277 adj = vrlo + xy.lo; in fma() [all …]
|
D | e_expf.c | 48 float y,hi=0.0,lo=0.0,c,t,twopk; in __ieee754_expf() local 69 hi = x-ln2HI[xsb]; lo=ln2LO[xsb]; k = 1-xsb-xsb; in __ieee754_expf() 74 lo = t*ln2LO[0]; in __ieee754_expf() 76 STRICT_ASSIGN(float, x, hi - lo); in __ieee754_expf() 91 else y = one-((lo-(x*c)/((float)2.0-c))-hi); in __ieee754_expf()
|
D | e_log2f.c | 34 float f,hfsq,hi,lo,r,y; in __ieee754_log2f() local 80 lo = (f - hi) - hfsq + r; in __ieee754_log2f() 81 return (lo+hi)*ivln2lo + lo*ivln2hi + hi*ivln2hi + y; in __ieee754_log2f()
|
D | s_expm1f.c | 44 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()
|
D | e_log10f.c | 36 float f,hfsq,hi,lo,r,y; in __ieee754_log10f() local 69 lo = (f - hi) - hfsq + r; in __ieee754_log10f() 70 return y*log10_2lo + (lo+hi)*ivln10lo + lo*ivln10hi + hi*ivln10hi + in __ieee754_log10f()
|
D | e_exp.c | 107 double y,hi=0.0,lo=0.0,c,t,twopk; in __ieee754_exp() local 131 hi = x-ln2HI[xsb]; lo=ln2LO[xsb]; k = 1-xsb-xsb; in __ieee754_exp() 136 lo = t*ln2LO[0]; in __ieee754_exp() 138 STRICT_ASSIGN(double, x, hi - lo); in __ieee754_exp() 153 else y = one-((lo-(x*c)/(2.0-c))-hi); in __ieee754_exp()
|
D | e_log2.c | 44 double f,hfsq,hi,lo,r,val_hi,val_lo,w,y; in __ieee754_log2() local 103 lo = (f - hi) - hfsq + r; in __ieee754_log2() 105 val_lo = (lo+hi)*ivln2lo + lo*ivln2hi; in __ieee754_log2()
|
D | s_expm1.c | 135 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()
|
D | e_log10.c | 44 double f,hfsq,hi,lo,r,val_hi,val_lo,w,y,y2; in __ieee754_log10() local 74 lo = (f - hi) - hfsq + r; in __ieee754_log10() 77 val_lo = y*log10_2lo + (lo+hi)*ivln10lo + lo*ivln10hi; in __ieee754_log10()
|
D | e_coshl.c | 88 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()
|
D | e_sqrtl.c | 82 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()
|
D | e_sinhl.c | 87 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()
|
D | s_tanhl.c | 115 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()
|
D | math_private.h | 723 #define DOPRINT_END2(hi, lo) \ argument 725 (long double)(hi), (long double)(lo)) 739 #define DOPRINT_END2(hi, lo) \ argument 741 (long double)(hi), (long double)(lo)) 755 #define DOPRINT_END2(hi, lo) \ argument 757 (long double)(hi), (long double)(lo)) 777 #define DOPRINT_END2(hi, lo) \ argument 779 (long double)(hi), (long double)(lo)) 786 #define DOPRINT_END2(hi, lo) argument 809 RETURN2P((rp)->hi, (rp)->lo); \ [all …]
|
/bionic/libm/upstream-freebsd/lib/msun/ld128/ |
D | k_expl.h | 102 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() 286 long double hi, lo, twopkm2; in hexpl() local 290 __k_expl(x, &hi, &lo, &k); in hexpl() 292 return (lo + hi) * 2 * twopkm2; in hexpl() 302 long double exp_x, hi, lo; in __ldexp_cexpl() local 308 __k_expl(x, &hi, &lo, &k); in __ldexp_cexpl() 310 exp_x = (lo + hi) * 0x1p16382; in __ldexp_cexpl()
|
D | s_logl.c | 434 (rp)->lo = (l); \ 441 long double lo; member 705 long double lo; in log10l() local 713 _2sumF(r.hi, r.lo); in log10l() 715 lo = r.lo + (r.hi - hi); in log10l() 717 (invln10_lo + invln10_hi) * lo + invln10_lo * hi); in log10l() 724 long double lo; in log2l() local 732 _2sumF(r.hi, r.lo); in log2l() 734 lo = r.lo + (r.hi - hi); in log2l() 736 (invln2_lo + invln2_hi) * lo + invln2_lo * hi); in log2l()
|
D | s_expl.c | 64 long double hi, lo, t, twopk; in expl() local 91 __k_expl(x, &hi, &lo, &k); in expl() 92 t = SUM2P(hi, lo); in expl() 292 t = tbl[n2].lo + tbl[n2].hi; in expm1l() 295 t = SUM2P(tbl[n2].hi - 1, tbl[n2].lo * (r1 + 1) + t * q + in expm1l() 300 t = SUM2P(tbl[n2].hi - 2, tbl[n2].lo * (r1 + 1) + t * q + in expm1l() 305 t = SUM2P(tbl[n2].hi, tbl[n2].lo + t * (q + r1)); in expm1l() 309 t = SUM2P(tbl[n2].hi, tbl[n2].lo + t * (q + r1)); in expm1l() 319 t = SUM2P(tbl[n2].hi, tbl[n2].lo - twomk + t * (q + r1)); in expm1l() 321 t = SUM2P(tbl[n2].hi - twomk, tbl[n2].lo + t * (q + r1)); in expm1l()
|
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/ |
D | b_exp.c | 94 double z,hi,lo,c; 110 x=hi-(lo=k*ln2lo); 115 return scalb(1.0+(hi-(lo-(x*c)/(2.0-c))),k); 140 double z,hi,lo; local 155 x= hi - (lo = k*ln2lo-c); 161 return scalb(1.+(hi-(lo - c)), k);
|
/bionic/libc/upstream-netbsd/common/lib/libc/stdlib/ |
D | random.c | 277 int x1, hi, lo, t; in srandom_unlocked() local 288 lo = x1 % 127773; in srandom_unlocked() 289 t = 16807 * lo - 2836 * hi; in srandom_unlocked() 513 long x, hi, lo, t; in random() local 523 lo = x % 127773; in random() 524 t = 16807 * lo - 2836 * hi; in random()
|
/bionic/libc/arch-arm64/generic/bionic/ |
D | memcmp.S | 65 b.lo L(less8) 142 cneg result, result, lo 149 b.lo L(less4)
|
/bionic/libc/bionic/ |
D | iconv.cpp | 191 uint16_t lo = In16(*src_buf + 2, swap); in GetNext() local 192 wc = 0x10000 + ((hi - 0xd800) << 10) + (lo - 0xdc00); in GetNext() 254 char16_t lo = 0xdc00 | (wc & 0x3ff); in Convert() local 256 Out16(buf + 2, lo, swap); in Convert()
|