Home
last modified time | relevance | path

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

12

/picolibc-3.7.0-3.6.0/newlib/libm/ld/common/
Ds_sinl.c42 long double hi, lo; in sinl() local
61 hi = __kernel_sinl(z.e, 0, 0); in sinl()
62 return (s ? -hi : hi); in sinl()
66 hi = y[0]; 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()
84 return (hi); in sinl()
Ds_cosl.c43 long double hi, lo; in cosl() local
61 hi = y[0]; 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()
79 return (hi); in cosl()
Ds_tanl.c50 long double hi, lo; in tanl() local
66 hi = __kernel_tanl(z.e, 0, 0); in tanl()
67 return (s ? -hi : hi); in tanl()
71 hi = y[0]; in tanl()
77 hi = __kernel_tanl(hi, lo, 0); in tanl()
81 hi = __kernel_tanl(hi, lo, 1); in tanl()
85 return (hi); in tanl()
/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()
247 …return (long double) a.hi * ((long double) (1LL << 32) * (long double) (1LL << 32)) + (long double… in _u128_to_ld()
253 return a.hi == 0 && a.lo == 0; in _u128_is_zero()
259 return (int64_t) a.hi < 0; in _i128_lt_zero()
265 return (a.hi == b.hi) && (a.lo == b.lo); in _u128_eq()
271 if (a.hi == b.hi) in _u128_lt()
273 return a.hi < b.hi; in _u128_lt()
279 if (a.hi == b.hi) { 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
104 hi = -0.0093104962134977f*x + 0.052064690894143f; in _log2f()
105 hi = hi*x - 0.13753123777116f; in _log2f()
106 hi = hi*x + 0.24187369696082f; in _log2f()
107 hi = hi*x - 0.34730547155299f; in _log2f()
111 result = hi*x4 + lo; in _log2f()
Datanf.h71 float hi, lo; in _atanf() local
96 hi = 0.0028662257f * x2 - 0.0161657367f; in _atanf()
97 hi = hi * x2 + 0.0429096138f; in _atanf()
98 hi = hi * x2 - 0.0752896400f; in _atanf()
99 hi = hi * x2 + 0.1065626393f; in _atanf()
104 result = hi * x9 + lo; in _atanf()
Dlog2f4.h83 vector float hi, lo; in _log2f4() local
107 hi = spu_madd(x, spu_splats(-0.0093104962134977f), spu_splats(0.052064690894143f)); in _log2f4()
108 hi = spu_madd(x, hi, spu_splats(-0.13753123777116f)); in _log2f4()
109 hi = spu_madd(x, hi, spu_splats( 0.24187369696082f)); in _log2f4()
110 hi = spu_madd(x, hi, spu_splats(-0.34730547155299f)); in _log2f4()
114 result = spu_madd(x4, hi, lo); in _log2f4()
Datanf4.h81 vector float hi, lo; in _atanf4() local
108 hi = spu_madd(spu_splats(0.0028662257f), x2, spu_splats(-0.0161657367f)); in _atanf4()
109 hi = spu_madd(hi, x2, spu_splats(0.0429096138f)); in _atanf4()
110 hi = spu_madd(hi, x2, spu_splats(-0.0752896400f)); in _atanf4()
111 hi = spu_madd(hi, x2, spu_splats(0.1065626393f)); in _atanf4()
116 result = spu_madd(hi, x9, lo); in _atanf4()
Dexp2f.h84 float hi, lo; in _exp2f() local
106 hi = -0.0001413161f * frac + 0.0013298820f; in _exp2f()
107 hi = hi * frac - 0.0083013598f; in _exp2f()
108 hi = hi * frac + 0.0416573475f; in _exp2f()
112 exp_frac.f = hi * frac4 + lo; in _exp2f()
Dexp2f4.h91 vector float hi, lo; in _exp2f4() local
115 hi = spu_madd(frac, spu_splats(-0.0001413161f), spu_splats(0.0013298820f)); in _exp2f4()
116 hi = spu_madd(frac, hi, spu_splats(-0.0083013598f)); in _exp2f4()
117 hi = spu_madd(frac, hi, spu_splats(0.0416573475f)); in _exp2f4()
122 exp_frac = spu_madd(frac4, hi, lo); in _exp2f4()
/picolibc-3.7.0-3.6.0/newlib/libm/common/
Dfma_inc.h47 FLOAT_T hi; member
62 ret.hi = a + b; in dd_add()
63 s = ret.hi - a; in dd_add()
64 ret.lo = (a - (ret.hi - s)) + (b - s); in dd_add()
86 if (!odd_mant(sum.hi)) in add_adjusted()
87 sum.hi = NEXTAFTER(sum.hi, (FLOAT_T)INFINITY * sum.lo); in add_adjusted()
89 return (sum.hi); in add_adjusted()
116 bits_lost = -EXPONENT(sum.hi) - scale + FLOAT_DENORM_BIAS; in add_and_denormalize()
117 if ((bits_lost != 1) ^ (int)odd_mant(sum.hi)) in add_and_denormalize()
118 sum.hi = NEXTAFTER(sum.hi, (FLOAT_T)INFINITY * sum.lo); in add_and_denormalize()
[all …]
Dlog.c56 double_t w, z, r, r2, r3, y, invc, logc, kd, hi, lo; in log() local
85 hi = r + w; in log()
86 y += r - hi + w; in log()
87 y += hi; in log()
94 hi = r + w; in log()
95 y += r - hi + w; in log()
96 y += hi; in log()
104 hi = r + w; in log()
105 y += r - hi + w; in log()
106 y += hi; in log()
[all …]
Dlog2.c56 double_t z, r, r2, r4, y, invc, logc, kd, hi, lo, t1, t2, t3, p; variable
76 hi = r * InvLn2hi;
77 lo = r * InvLn2lo + fma (r, InvLn2hi, -hi);
82 hi = rhi * InvLn2hi;
90 y = hi + p;
91 lo += hi - y + p;
143 hi = t3 + t1;
144 lo = t3 - hi + t1 + t2;
154 y = lo + r2 * p + hi;
Dpow.c63 double_t z, r, y, invc, logc, logctail, kd, hi, t1, t2, lo, lo1, lo2, p; in log_inline() local
108 hi = t2 + ar2; in log_inline()
110 lo4 = t2 - hi + ar2; in log_inline()
114 hi = t2 + arhi2; in log_inline()
116 lo4 = t2 - hi + arhi2; 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
182 hi = one + y; in specialcase()
183 lo = one - hi + y + lo; in specialcase()
[all …]
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()
72 hi = x - t*ln2_hi; /* t*ln2_hi is exact here */ in expm1f()
75 x = hi - lo; in expm1f()
76 c = (hi-x)-lo; in expm1f()
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()
204 hi = x - t*ln2_hi; /* t*ln2_hi is exact here */ in _NAME_64()
207 x = hi - lo; in _NAME_64()
208 c = (hi-x)-lo; in _NAME_64()
Dexp2.c76 double_t hi, lo; in specialcase() local
78 hi = 1.0 + y; 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
80 hi = 1.0 + y; 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()
63 #define umul128(a,b,hi) __umul128(a,b,hi) argument
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
77 uint64_t hi; in umulh() local
78 umul128(a, b, &hi); in umulh()
79 return hi; in umulh()
284 uint64_t hi; in mulShiftAll64() local
285 const uint64_t mid = tmp + umul128(m, mul[1], &hi); 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
64 hi = x - ln2HI[xsb]; in expf()
70 hi = x - t * ln2HI[0]; /* t*ln2HI is exact here */ 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
131 hi = x - ln2HI[xsb]; in exp64()
137 hi = x - t * ln2HI[0]; /* t*ln2HI is exact here */ 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/aarch64/
Dstrncmp.S104 csinv endloop, diff, xzr, hi /* Last Dword or differences. */
128 csel result, result, xzr, hi
211 ccmp data1w, #1, #0, hi /* NZCV = 0b0000. */
233 b.hi L(page_end_loop)
275 csinv endloop, diff, xzr, hi /* If limit, set to all ones. */
303 csinv tmp3, syndrome, xzr, hi /* If limit, set to all ones. */
313 csinv tmp3, syndrome, xzr, hi /* If limit, set to all ones. */
/picolibc-3.7.0-3.6.0/newlib/libc/machine/mep/
Dsetjmp.S12 # $hi
55 ldc $0, $hi
106 stc $0, $hi

12