Home
last modified time | relevance | path

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

12

/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/
Dstdio_private.h226 uint64_t lo, hi; member
228 uint64_t hi, lo;
235 _u128 a = { .hi = 0, .lo = x }; in to_u128()
241 return a.lo; in from_u128()
247 … (long double) a.hi * ((long double) (1LL << 32) * (long double) (1LL << 32)) + (long double) a.lo; in _u128_to_ld()
253 return a.hi == 0 && a.lo == 0; in _u128_is_zero()
265 return (a.hi == b.hi) && (a.lo == b.lo); in _u128_eq()
272 return a.lo < b.lo; in _u128_lt()
281 return a.lo > b.lo; in _i128_lt()
283 return a.lo < b.lo; in _i128_lt()
[all …]
Dryu_umul128.c55 uint64_t __shiftright128(const uint64_t lo, const uint64_t hi, const uint32_t dist) { in __shiftright128() argument
59 return (hi << (64 - dist)) | (lo >> dist); in __shiftright128()
/picolibc-3.7.0-3.6.0/newlib/libm/machine/spu/headers/
Dlog2f.h78 float hi, lo; in _log2f() local
108 lo = 0.47868480909345f *x - 0.72116591947498f; in _log2f()
109 lo = lo*x + 1.4426898816672f; in _log2f()
110 lo = lo*x; in _log2f()
111 result = hi*x4 + lo; in _log2f()
Datanf.h71 float hi, lo; in _atanf() local
100 lo = -0.1420889944f * x2 + 0.1999355085f; in _atanf()
101 lo = lo * x2 - 0.3333314528f; in _atanf()
102 lo = lo * x3 + bias; in _atanf()
104 result = hi * x9 + lo; in _atanf()
Dexp2f.h84 float hi, lo; in _exp2f() local
109 lo = -0.1666653019f * frac + 0.4999999206f; in _exp2f()
110 lo = lo * frac - 0.9999999995f; in _exp2f()
111 lo = lo * frac + 1.0f; in _exp2f()
112 exp_frac.f = hi * frac4 + lo; in _exp2f()
Dlog2f4.h83 vector float hi, lo; in _log2f4() local
111 lo = spu_madd(x, spu_splats(0.47868480909345f), spu_splats(-0.72116591947498f)); in _log2f4()
112 lo = spu_madd(x, lo, spu_splats(1.4426898816672f)); in _log2f4()
113 lo = spu_mul(x, lo); in _log2f4()
114 result = spu_madd(x4, hi, lo); in _log2f4()
Dexp2f4.h91 vector float hi, lo; in _exp2f4() local
118 lo = spu_madd(frac, spu_splats(-0.1666653019f), spu_splats(0.4999999206f)); in _exp2f4()
119 lo = spu_madd(frac, lo, spu_splats(-0.9999999995f)); in _exp2f4()
120 lo = spu_madd(frac, lo, spu_splats(1.0f)); in _exp2f4()
122 exp_frac = spu_madd(frac4, hi, lo); in _exp2f4()
Datanf4.h81 vector float hi, lo; in _atanf4() local
112 lo = spu_madd(spu_splats(-0.1420889944f), x2, spu_splats(0.1999355085f)); in _atanf4()
113 lo = spu_madd(lo, x2, spu_splats(-0.3333314528f)); in _atanf4()
114 lo = spu_madd(lo, x3, bias); in _atanf4()
116 result = spu_madd(hi, x9, lo); in _atanf4()
/picolibc-3.7.0-3.6.0/newlib/libm/ld/common/
Ds_cosl.c43 long double hi, lo; in cosl() local
62 lo = y[1]; in cosl()
66 hi = __kernel_cosl(hi, lo); in cosl()
69 hi = - __kernel_sinl(hi, lo, 1); in cosl()
72 hi = - __kernel_cosl(hi, lo); in cosl()
75 hi = __kernel_sinl(hi, lo, 1); in cosl()
Ds_sinl.c42 long double hi, lo; in sinl() local
67 lo = y[1]; in sinl()
71 hi = __kernel_sinl(hi, lo, 1); in sinl()
74 hi = __kernel_cosl(hi, lo); in sinl()
77 hi = - __kernel_sinl(hi, lo, 1); in sinl()
80 hi = - __kernel_cosl(hi, lo); in sinl()
Ds_tanl.c50 long double hi, lo; in tanl() local
72 lo = y[1]; in tanl()
77 hi = __kernel_tanl(hi, lo, 0); in tanl()
81 hi = __kernel_tanl(hi, lo, 1); in tanl()
De_sqrtl.c80 long double lo, xn; in sqrtl() local
136 lo = u.e; in sqrtl()
142 lo = (lo - u.e) / xn; /* Low bits divided by xn. */ in sqrtl()
144 u.e = xn + lo; /* Combine everything. */ in sqrtl()
/picolibc-3.7.0-3.6.0/newlib/libm/common/
Dfma_inc.h48 FLOAT_T lo; member
64 ret.lo = (a - (ret.hi - s)) + (b - s); in dd_add()
85 if (sum.lo != 0) { in add_adjusted()
87 sum.hi = NEXTAFTER(sum.hi, (FLOAT_T)INFINITY * sum.lo); in add_adjusted()
115 if (sum.lo != 0) { in add_and_denormalize()
118 sum.hi = NEXTAFTER(sum.hi, (FLOAT_T)INFINITY * sum.lo); in add_and_denormalize()
149 ret.lo = p - ret.hi + q + la * lb; in dd_mul()
285 return (xy.hi + vzs + _scalbn_no_errno(xy.lo, spread)); in FMA()
295 adj = r.lo + xy.lo; in FMA()
300 adj = add_adjusted(r.lo, xy.lo); in FMA()
Dlog2.c56 double_t z, r, r2, r4, y, invc, logc, kd, hi, lo, t1, t2, t3, p; variable
77 lo = r * InvLn2lo + fma (r, InvLn2hi, -hi);
83 lo = rlo * InvLn2hi + r * InvLn2lo;
91 lo += hi - y + p;
92 lo += r4 * (B[2] + r * B[3] + r2 * (B[4] + r * B[5])
94 y += lo;
144 lo = t3 - hi + t1 + t2;
154 y = lo + r2 * p + hi;
Dsf_expm1.c39 float y,hi,lo,c,t,e,hxs,hfx,r1; in expm1f() local
66 {hi = x - ln2_hi; lo = ln2_lo; k = 1;} in expm1f()
68 {hi = x + ln2_hi; lo = -ln2_lo; k = -1;} in expm1f()
73 lo = t*ln2_lo; in expm1f()
75 x = hi - lo; in expm1f()
76 c = (hi-x)-lo; in expm1f()
Dpow.c63 double_t z, r, y, invc, logc, logctail, kd, hi, t1, t2, lo, lo1, lo2, p; in log_inline() local
123 lo = lo1 + lo2 + lo3 + lo4 + p; in log_inline()
124 y = hi + lo; in log_inline()
125 *tail = hi - y + lo; in log_inline()
178 double_t hi, lo, one = 1.0; in specialcase() local
181 lo = scale - y + scale * tmp; in specialcase()
183 lo = one - hi + y + lo; in specialcase()
184 y = eval_as_double (hi + lo) - one; in specialcase()
383 double_t lo; in pow() local
384 double_t hi = log_inline (ix, &lo); in pow()
[all …]
Ds_expm1.c167 __float64 y,hi,lo,c,t,e,hxs,hfx,r1; in _NAME_64() local
198 {hi = x - ln2_hi; lo = ln2_lo; k = 1;} in _NAME_64()
200 {hi = x + ln2_hi; lo = -ln2_lo; k = -1;} in _NAME_64()
205 lo = t*ln2_lo; in _NAME_64()
207 x = hi - lo; in _NAME_64()
208 c = (hi-x)-lo; in _NAME_64()
Dlog.c56 double_t w, z, r, r2, r3, y, invc, logc, kd, hi, lo; in log() local
114 lo = r - hi + w; in log()
115 lo += B[0] * rlo * (rhi + r); in log()
116 y += lo; in log()
161 lo = w - hi + r + kd * Ln2lo; in log()
170 y = lo + r2 * A[0] + r * r2 * (A[1] + r * A[2] + r2 * (A[3] + r * A[4])) + hi; in log()
172 y = lo in log()
Dexp2.c76 double_t hi, lo; in specialcase() local
77 lo = scale - y + scale * tmp; in specialcase()
79 lo = 1.0 - hi + y + lo; in specialcase()
80 y = eval_as_double (hi + lo) - 1.0; in specialcase()
Dexp.c78 double_t hi, lo; in specialcase() local
79 lo = scale - y + scale * tmp; in specialcase()
81 lo = 1.0 - hi + y + lo; in specialcase()
82 y = eval_as_double (hi + lo) - 1.0; in specialcase()
/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/ryu/
Dd2s_intrinsics.h45 static inline uint64_t shiftright128(const uint64_t lo, const uint64_t hi, const uint32_t dist) { in shiftright128() argument
57 return __shiftright128(lo, hi, (unsigned char) dist); in shiftright128()
65 uint64_t __shiftright128(const uint64_t lo, const uint64_t hi, const uint32_t dist);
66 #define shiftright128(lo,hi,dist) __shiftright128(lo,hi,dist) argument
283 const uint64_t lo = umul128(m, mul[0], &tmp); in mulShiftAll64() local
288 const uint64_t lo2 = lo + mul[0]; in mulShiftAll64()
289 const uint64_t mid2 = mid + mul[1] + (lo2 < lo); in mulShiftAll64()
294 const uint64_t lo3 = lo - mul[0]; in mulShiftAll64()
295 const uint64_t mid3 = mid - mul[1] - (lo3 > lo); in mulShiftAll64()
299 const uint64_t lo3 = lo + lo; in mulShiftAll64()
[all …]
/picolibc-3.7.0-3.6.0/newlib/libm/math/
Dsf_exp.c43 float y, hi, lo, c, t; in expf() local
65 lo = ln2LO[xsb]; in expf()
71 lo = t * ln2LO[0]; in expf()
73 x = hi - lo; in expf()
85 y = one - ((lo - (x * c) / (2.0f - c)) - hi); in expf()
Ds_exp.c104 __float64 y, hi, lo, c, t; in exp64() local
132 lo = ln2LO[xsb]; in exp64()
138 lo = t * ln2LO[0]; in exp64()
140 x = hi - lo; in exp64()
152 y = one - ((lo - (x * c) / (_F_64(2.0) - c)) - hi); in exp64()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/crx/sys/
Dasm.h144 #define _macsb_(hi, lo, src1, src2) __asm__("macsb %1,%0" \ argument
145 : =l (lo), =h (hi) \
147 #define _macsw_(hi, lo, src1, src2) __asm__("macsw %1,%0" \ argument
148 : =l (lo), =h (hi) \
150 #define _macsd_(hi, lo, src1, src2) __asm__("macsd %1,%0" \ argument
151 : =l (lo), =h (hi) \
153 #define _macub_(hi, lo, src1, src2) __asm__("macub %1,%0" \ argument
154 : =l (lo), =h (hi) \
156 #define _macuw_(hi, lo, src1, src2) __asm__("macuw %1,%0" \ argument
157 : =l (lo), =h (hi) \
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/machine/mep/
Dsetjmp.S13 # $lo
57 ldc $0, $lo
108 stc $0, $lo

12