Home
last modified time | relevance | path

Searched refs:hi (Results 1 – 25 of 44) sorted by relevance

12

/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_sinl.c53 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()
Ds_fmal.c44 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 …]
Ds_cosl.c58 long double hi, lo; in cosl() local
78 hi = y[0]; 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()
96 RETURNI(hi); in cosl()
Ds_fma.c44 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 EXTRACT_WORD64(hibits, sum.hi); in add_adjusted()
89 INSERT_WORD64(sum.hi, hibits); in add_adjusted()
92 return (sum.hi); in add_adjusted()
120 EXTRACT_WORD64(hibits, sum.hi); in add_and_denormalize()
126 INSERT_WORD64(sum.hi, hibits); in add_and_denormalize()
129 return (ldexp(sum.hi, scale)); in add_and_denormalize()
[all …]
Ds_tanl.c59 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()
De_log2f.c34 float f,hfsq,hi,lo,r,y; in __ieee754_log2f() local
77 hi = f - hfsq; in __ieee754_log2f()
78 GET_FLOAT_WORD(hx,hi); in __ieee754_log2f()
79 SET_FLOAT_WORD(hi,hx&0xfffff000); in __ieee754_log2f()
80 lo = (f - hi) - hfsq + r; in __ieee754_log2f()
81 return (lo+hi)*ivln2lo + lo*ivln2hi + hi*ivln2hi + y; in __ieee754_log2f()
De_log10f.c36 float f,hfsq,hi,lo,r,y; in __ieee754_log10f() local
66 hi = f - hfsq; in __ieee754_log10f()
67 GET_FLOAT_WORD(hx,hi); in __ieee754_log10f()
68 SET_FLOAT_WORD(hi,hx&0xfffff000); in __ieee754_log10f()
69 lo = (f - hi) - hfsq + r; in __ieee754_log10f()
70 return y*log10_2lo + (lo+hi)*ivln10lo + lo*ivln10hi + hi*ivln10hi + in __ieee754_log10f()
De_log2.c44 double f,hfsq,hi,lo,r,val_hi,val_lo,w,y; in __ieee754_log2() local
101 hi = f - hfsq; in __ieee754_log2()
102 SET_LOW_WORD(hi,0); in __ieee754_log2()
103 lo = (f - hi) - hfsq + r; in __ieee754_log2()
104 val_hi = hi*ivln2hi; in __ieee754_log2()
105 val_lo = (lo+hi)*ivln2lo + lo*ivln2hi; in __ieee754_log2()
De_log10.c44 double f,hfsq,hi,lo,r,val_hi,val_lo,w,y,y2; in __ieee754_log10() local
72 hi = f - hfsq; in __ieee754_log10()
73 SET_LOW_WORD(hi,0); in __ieee754_log10()
74 lo = (f - hi) - hfsq + r; in __ieee754_log10()
75 val_hi = hi*ivln10hi; in __ieee754_log10()
77 val_lo = y*log10_2lo + (lo+hi)*ivln10lo + lo*ivln10hi; in __ieee754_log10()
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()
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()
De_expf.c48 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()
73 hi = x - t*ln2HI[0]; /* t*ln2HI is exact here */ 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()
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()
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()
De_exp.c107 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()
135 hi = x - t*ln2HI[0]; /* t*ln2HI is exact here */ 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()
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()
Dmath_private.h723 #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
808 RETURNP((rp)->hi); \
[all …]
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/
Ds_logl.c427 (rp)->hi = (v); \
433 (rp)->hi = (h); \
440 long double hi; member
706 float hi; in log10l() local
712 RETURNPI(r.hi); in log10l()
713 _2sumF(r.hi, r.lo); in log10l()
714 hi = r.hi; in log10l()
715 lo = r.lo + (r.hi - hi); in log10l()
716 RETURN2PI(invln10_hi * hi, in log10l()
717 (invln10_lo + invln10_hi) * lo + invln10_lo * hi); in log10l()
[all …]
Dk_expl.h101 long double hi; member
260 t = tbl[n2].lo + tbl[n2].hi; in __k_expl()
261 *hip = tbl[n2].hi; 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()
Ds_expl.c64 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()
296 tbl[n2].hi * r1); in expm1l()
300 t = SUM2P(tbl[n2].hi - 2, tbl[n2].lo * (r1 + 1) + t * q + in expm1l()
301 tbl[n2].hi * r1); 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()
[all …]
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/
Db_exp.c94 double z,hi,lo,c;
109 hi=x-k*ln2hi;
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
154 hi=(x-k*ln2hi); /* Exact. */
155 x= hi - (lo = k*ln2lo-c);
161 return scalb(1.+(hi-(lo - c)), k);
/bionic/libc/upstream-netbsd/common/lib/libc/stdlib/
Drandom.c277 int x1, hi, lo, t; in srandom_unlocked() local
287 hi = x1 / 127773; in srandom_unlocked()
289 t = 16807 * lo - 2836 * hi; in srandom_unlocked()
513 long x, hi, lo, t; in random() local
522 hi = x / 127773; in random()
524 t = 16807 * lo - 2836 * hi; in random()
/bionic/libc/arch-arm64/generic/bionic/
Dmemset.S107 b.hi L(set_long)
164 b.hi 1b
193 b.hi 1b
216 b.hi 1b
239 b.hi 1b
/bionic/libc/arch-arm64/bionic/
Dsyscall.S45 cneg x0, x0, hi
46 b.hi __set_errno_internal
/bionic/libc/bionic/
Dpthread_attr.cpp211 uintptr_t lo, hi; in __pthread_attr_getstack_main_thread() local
212 if (sscanf(line, "%" SCNxPTR "-%" SCNxPTR, &lo, &hi) == 2) { in __pthread_attr_getstack_main_thread()
213 if (lo <= startstack && startstack <= hi) { in __pthread_attr_getstack_main_thread()
215 *stack_base = reinterpret_cast<void*>(hi - *stack_size); in __pthread_attr_getstack_main_thread()

12