Home
last modified time | relevance | path

Searched refs:sum (Results 1 – 11 of 11) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libm/machine/spu/headers/
Dtgammaf4.h184 vector float sum; in _tgammaf4() local
186 sum = spu_madd(xinv, spu_splats((float)STIRLING_16), spu_splats((float)STIRLING_15)); in _tgammaf4()
187 sum = spu_madd(sum, xinv, spu_splats((float)STIRLING_14)); in _tgammaf4()
188 sum = spu_madd(sum, xinv, spu_splats((float)STIRLING_13)); in _tgammaf4()
189 sum = spu_madd(sum, xinv, spu_splats((float)STIRLING_12)); in _tgammaf4()
190 sum = spu_madd(sum, xinv, spu_splats((float)STIRLING_11)); in _tgammaf4()
191 sum = spu_madd(sum, xinv, spu_splats((float)STIRLING_10)); in _tgammaf4()
192 sum = spu_madd(sum, xinv, spu_splats((float)STIRLING_09)); in _tgammaf4()
193 sum = spu_madd(sum, xinv, spu_splats((float)STIRLING_08)); in _tgammaf4()
194 sum = spu_madd(sum, xinv, spu_splats((float)STIRLING_07)); in _tgammaf4()
[all …]
Dtgammad2.h239 vector double sum; in _tgammad2() local
241 sum = spu_madd(xinv, spu_splats(STIRLING_16), spu_splats(STIRLING_15)); in _tgammad2()
242 sum = spu_madd(sum, xinv, spu_splats(STIRLING_14)); in _tgammad2()
243 sum = spu_madd(sum, xinv, spu_splats(STIRLING_13)); in _tgammad2()
244 sum = spu_madd(sum, xinv, spu_splats(STIRLING_12)); in _tgammad2()
245 sum = spu_madd(sum, xinv, spu_splats(STIRLING_11)); in _tgammad2()
246 sum = spu_madd(sum, xinv, spu_splats(STIRLING_10)); in _tgammad2()
247 sum = spu_madd(sum, xinv, spu_splats(STIRLING_09)); in _tgammad2()
248 sum = spu_madd(sum, xinv, spu_splats(STIRLING_08)); in _tgammad2()
249 sum = spu_madd(sum, xinv, spu_splats(STIRLING_07)); in _tgammad2()
[all …]
Dlgammad2.h157 vec_double2 sum, xabs; in _lgammad2() local
217 sum = spu_madd(inv_xsqu, spu_splats(STIRLING_15), spu_splats(STIRLING_14)); in _lgammad2()
218 sum = spu_madd(sum, inv_xsqu, spu_splats(STIRLING_13)); in _lgammad2()
219 sum = spu_madd(sum, inv_xsqu, spu_splats(STIRLING_12)); in _lgammad2()
220 sum = spu_madd(sum, inv_xsqu, spu_splats(STIRLING_11)); in _lgammad2()
221 sum = spu_madd(sum, inv_xsqu, spu_splats(STIRLING_10)); in _lgammad2()
222 sum = spu_madd(sum, inv_xsqu, spu_splats(STIRLING_09)); in _lgammad2()
223 sum = spu_madd(sum, inv_xsqu, spu_splats(STIRLING_08)); in _lgammad2()
224 sum = spu_madd(sum, inv_xsqu, spu_splats(STIRLING_07)); in _lgammad2()
225 sum = spu_madd(sum, inv_xsqu, spu_splats(STIRLING_06)); in _lgammad2()
[all …]
Dhypotd2.h82 vector double sum; in _hypotd2() local
112 sum = _sqrtd2(spu_madd(max, max, spu_mul(min, min))); in _hypotd2()
113 sum = spu_mul(max_e, sum); in _hypotd2()
116 result = spu_sel(sum, inf, spu_cmpeq(x, inf)); in _hypotd2()
Dhypotf4.h85 vector float sum; in _hypotf4() local
117 sum = _sqrtf4(spu_madd(max, max, spu_mul(min, min))); in _hypotf4()
118 sum = spu_mul(max_e, sum); in _hypotf4()
121 result = spu_sel(sum, inf, spu_cmpeq(x, inf)); in _hypotf4()
/picolibc-3.7.0-3.6.0/newlib/libm/common/
Dfma_inc.h82 struct dd sum; in add_adjusted() local
84 sum = dd_add(a, b); in add_adjusted()
85 if (sum.lo != 0) { in add_adjusted()
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()
100 struct dd sum; in add_and_denormalize() local
103 sum = dd_add(a, b); in add_and_denormalize()
115 if (sum.lo != 0) { in add_and_denormalize()
116 bits_lost = -EXPONENT(sum.hi) - scale + FLOAT_DENORM_BIAS; in add_and_denormalize()
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/
Dryu_table.c154 const uint64_t sum = high0 + low1; in __double_computePow5() local
155 if (sum < high0) { in __double_computePow5()
160 result[0] = shiftright128(low0, sum, delta) + ((POW5_OFFSETS[i / 16] >> ((i % 16) << 1)) & 3); in __double_computePow5()
161 result[1] = shiftright128(sum, high1, delta); in __double_computePow5()
180 const uint64_t sum = high0 + low1; in __double_computeInvPow5() local
181 if (sum < high0) { in __double_computeInvPow5()
186 …result[0] = shiftright128(low0, sum, delta) + 1 + ((POW5_INV_OFFSETS[i / 16] >> ((i % 16) << 1)) &… in __double_computeInvPow5()
187 result[1] = shiftright128(sum, high1, delta); in __double_computeInvPow5()
Dryu_divpow2.c53 const uint64_t sum = (bits0 >> 32) + bits1; in mulShift32() local
54 const uint64_t shiftedSum = sum >> (shift - 32); in mulShift32()
/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/ryu/
Dd2s_intrinsics.h248 const uint64_t sum = high0 + low1; in mulShift64() local
249 if (sum < high0) { in mulShift64()
252 return shiftright128(sum, high1, j - 64); in mulShift64()
270 const uint64_t sum = high0 + low1; in mulShift64() local
271 if (sum < high0) { in mulShift64()
274 return shiftright128(sum, high1, j - 64); in mulShift64()
/picolibc-3.7.0-3.6.0/newlib/libc/stdio/
Dvfscanf.c1003 size_t sum = 0; in _SVFSCANF() local
1008 sum += n; in _SVFSCANF()
1013 if (sum == 0) in _SVFSCANF()
1020 sum += width; in _SVFSCANF()
1026 nread += sum; in _SVFSCANF()
/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/
Dstrtodg.c56 sum (_Bigint *a, _Bigint *b) in sum() function
1101 rvb = sum(rvb, ab); in _strtodg_l()