/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | s_sinl.c | 53 long double hi, lo; in sinl() local 71 hi = __kernel_sinl(z.e, 0, 0); in sinl() 72 RETURNI(s ? -hi : hi); in sinl() 76 hi = y[0]; 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() 94 RETURNI(hi); in sinl()
|
D | s_cosl.c | 63 long double hi, lo; in cosl() local 83 hi = y[0]; 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() 101 RETURNI(hi); in cosl()
|
D | s_tanl.c | 59 long double hi, lo; in tanl() local 77 hi = __kernel_tanl(z.e, 0, 0); in tanl() 78 RETURNI(s ? -hi : hi); in tanl() 82 hi = y[0]; in tanl() 88 hi = __kernel_tanl(hi, lo, 0); in tanl() 92 hi = __kernel_tanl(hi, lo, 1); in tanl() 96 RETURNI(hi); in tanl()
|
D | s_fmal.c | 44 long double hi; member 59 ret.hi = a + b; in dd_add() 60 s = ret.hi - a; in dd_add() 61 ret.lo = (a - (ret.hi - s)) + (b - s); in dd_add() 84 u.e = sum.hi; in add_adjusted() 86 sum.hi = nextafterl(sum.hi, INFINITY * sum.lo); in add_adjusted() 88 return (sum.hi); in add_adjusted() 116 u.e = sum.hi; in add_and_denormalize() 119 sum.hi = nextafterl(sum.hi, INFINITY * sum.lo); in add_and_denormalize() 121 return (ldexp(sum.hi, scale)); in add_and_denormalize() [all …]
|
D | k_sinpi.h | 35 double_t hi, lo; in __kernel_sinpi() local 37 hi = (float)x; in __kernel_sinpi() 38 lo = x - hi; in __kernel_sinpi() 39 lo = lo * (pi_lo + pi_hi) + hi * pi_lo; in __kernel_sinpi() 40 hi *= pi_hi; in __kernel_sinpi() 41 _2sumF(hi, lo); in __kernel_sinpi() 42 return (__kernel_sin(hi, lo, 1)); in __kernel_sinpi()
|
D | k_cospi.h | 35 double_t hi, lo; in __kernel_cospi() local 37 hi = (float)x; in __kernel_cospi() 38 lo = x - hi; in __kernel_cospi() 39 lo = lo * (pi_lo + pi_hi) + hi * pi_lo; in __kernel_cospi() 40 hi *= pi_hi; in __kernel_cospi() 41 _2sumF(hi, lo); in __kernel_cospi() 42 return (__kernel_cos(hi, lo)); in __kernel_cospi()
|
D | s_fma.c | 51 double hi; member 66 ret.hi = a + b; in dd_add() 67 s = ret.hi - a; in dd_add() 68 ret.lo = (a - (ret.hi - s)) + (b - s); in dd_add() 91 EXTRACT_WORD64(hibits, sum.hi); in add_adjusted() 96 INSERT_WORD64(sum.hi, hibits); in add_adjusted() 99 return (sum.hi); in add_adjusted() 127 EXTRACT_WORD64(hibits, sum.hi); in add_and_denormalize() 133 INSERT_WORD64(sum.hi, hibits); in add_and_denormalize() 136 return (ldexp(sum.hi, scale)); in add_and_denormalize() [all …]
|
D | e_log2f.c | 34 float f,hfsq,hi,lo,r,y; in log2f() local 77 hi = f - hfsq; in log2f() 78 GET_FLOAT_WORD(hx,hi); in log2f() 79 SET_FLOAT_WORD(hi,hx&0xfffff000); in log2f() 80 lo = (f - hi) - hfsq + r; in log2f() 81 return (lo+hi)*ivln2lo + lo*ivln2hi + hi*ivln2hi + y; in log2f()
|
D | e_log10f.c | 36 float f,hfsq,hi,lo,r,y; in log10f() local 66 hi = f - hfsq; in log10f() 67 GET_FLOAT_WORD(hx,hi); in log10f() 68 SET_FLOAT_WORD(hi,hx&0xfffff000); in log10f() 69 lo = (f - hi) - hfsq + r; in log10f() 70 return y*log10_2lo + (lo+hi)*ivln10lo + lo*ivln10hi + hi*ivln10hi + in log10f()
|
D | e_log2.c | 44 double f,hfsq,hi,lo,r,val_hi,val_lo,w,y; in log2() local 101 hi = f - hfsq; in log2() 102 SET_LOW_WORD(hi,0); in log2() 103 lo = (f - hi) - hfsq + r; in log2() 104 val_hi = hi*ivln2hi; in log2() 105 val_lo = (lo+hi)*ivln2lo + lo*ivln2hi; in log2()
|
D | e_log10.c | 44 double f,hfsq,hi,lo,r,val_hi,val_lo,w,y,y2; in log10() local 72 hi = f - hfsq; in log10() 73 SET_LOW_WORD(hi,0); in log10() 74 lo = (f - hi) - hfsq + r; in log10() 75 val_hi = hi*ivln10hi; in log10() 77 val_lo = y*log10_2lo + (lo+hi)*ivln10lo + lo*ivln10hi; in log10()
|
D | s_sinpi.c | 82 double ax, hi, lo, s; in sinpi() local 99 INSERT_WORDS(hi, hx, 0); in sinpi() 100 hi *= 0x1p53; in sinpi() 101 lo = x * 0x1p53 - hi; in sinpi() 102 s = (pi_lo + pi_hi) * lo + pi_lo * hi + in sinpi() 103 pi_hi * hi; in sinpi()
|
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() 77 hi = x - t*ln2_hi; /* t*ln2_hi is exact here */ in expm1f() 80 STRICT_ASSIGN(float, x, hi - lo); in expm1f() 81 c = (hi-x)-lo; in expm1f()
|
D | e_expf.c | 48 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() 73 hi = x - t*ln2HI[0]; /* t*ln2HI is exact here */ 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()
|
D | e_exp.c | 107 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() 135 hi = x - t*ln2HI[0]; /* t*ln2HI is exact here */ in exp() 138 STRICT_ASSIGN(double, x, hi - lo); in exp() 153 else y = one-((lo-(x*c)/(2.0-c))-hi); in exp()
|
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() 171 hi = x - t*ln2_hi; /* t*ln2_hi is exact here */ in expm1() 174 STRICT_ASSIGN(double, x, hi - lo); in expm1() 175 c = (hi-x)-lo; in expm1()
|
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_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()
|
/bionic/libm/upstream-freebsd/lib/msun/ld128/ |
D | s_logl.c | 427 (rp)->hi = (v); \ 433 (rp)->hi = (h); \ 440 long double hi; member 706 long double hi, lo; in log10l() local 711 RETURNI(r.hi); in log10l() 712 _2sumF(r.hi, r.lo); in log10l() 713 hi = (float)r.hi; 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 [all …]
|
D | k_expl.h | 101 long double hi; member 260 t = tbl[n2].lo + tbl[n2].hi; in __k_expl() 261 *hip = tbl[n2].hi; 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()
|
D | s_expl.c | 64 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() 295 tbl[n2].hi * r1); in expm1l() 299 t = SUM2P(tbl[n2].hi - 2, tbl[n2].lo * (r1 + 1) + t * q + in expm1l() 300 tbl[n2].hi * r1); 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() [all …]
|
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/ |
D | b_exp.c | 92 double hi, lo, z; in __exp__D() local 108 hi = x - k * ln2hi; /* Exact. */ in __exp__D() 110 x = hi - lo; in __exp__D() 118 return (ldexp(1 + (hi - (lo - c)), k)); in __exp__D()
|
/bionic/libc/bionic/ |
D | pthread_internal.cpp | 166 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() 170 *high = hi; 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/ |
D | testbinary_is_stack_mte_after_dlopen.cpp | 60 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() 64 *high = hi; in find_main_stack_limits()
|