Home
last modified time | relevance | path

Searched refs:overflow (Results 1 – 17 of 17) sorted by relevance

/picolibc-latest/newlib/libm/machine/spu/headers/
Dldexpf.h46 vec_uint4 zero, overflow; in _ldexpf() local
66 overflow = spu_rlmask(spu_cmpgt(x_exp, 255), -1); in _ldexpf()
73 out = spu_or(out, (vec_float4)overflow); in _ldexpf()
Dscalbnf.h46 vec_uint4 zero, overflow; in _scalbnf() local
66 overflow = spu_rlmask(spu_cmpgt(x_exp, 255), -1); in _scalbnf()
73 out = spu_or(out, (vec_float4)overflow); in _scalbnf()
Dscalbnf4.h68 vec_uint4 overflow; in _scalbnf4() local
88 overflow = spu_rlmask(spu_cmpgt(x_exp, 255), -1); in _scalbnf4()
95 out = spu_or(out, (vec_float4)overflow); in _scalbnf4()
Ddivf4.h85 vector unsigned int exp, exp_a, exp_b, overflow; in _divf4() local
143 overflow = spu_or(spu_cmpeq(exp_b, 0), spu_cmpeq(spu_rlmask(exp, -30), 2)); in _divf4()
144 exp = spu_sel(exp, (vector unsigned int)one, overflow); in _divf4()
146 mult = spu_or(mult, (vector float)spu_rlmask(overflow, -1)); in _divf4()
Dexp2f.h81 unsigned int overflow, underflow; in _exp2f() local
96 overflow = (ix > 128) ? 0x7FFFFFFF : 0x0; in _exp2f()
117 exp_frac.ui = (exp_frac.ui | overflow) & ~underflow; in _exp2f()
Dexp2d2.h93 vec_uint4 overflow, underflow; in _exp2d2() local
112 overflow = spu_cmpgt(exp, 1023); in _exp2d2()
114 out_of_range = (vec_double2)spu_and(overflow, ((vec_uint4) { 0x7FF00000, 0, 0x7FF00000, 0 })); in _exp2d2()
148 return (spu_sel(vy, out_of_range, (vec_ullong2)spu_orc(overflow, underflow))); in _exp2d2()
Dexp2f4.h87 vector unsigned int overflow, underflow; in _exp2f4() local
102 overflow = spu_rlmask(spu_cmpgt(ix, 128), -1); in _exp2f4()
127 result = spu_or(result, (vector float)overflow); in _exp2f4()
Dremquo.h57 vec_uint4 nan_out, not_ge, quo_pos, overflow; in _remquo() local
183 overflow = spu_cmpgt(y_hi, VEC_SPLAT_U32(0x7FCFFFFF)); in _remquo()
188 not_ge = spu_or(not_ge, overflow); in _remquo()
199 overflow = spu_cmpgt(y_hi, VEC_SPLAT_U32(0x7FDFFFFF)); in _remquo()
204 not_ge = spu_or(not_ge, overflow); in _remquo()
Dremquof.h51 vec_uint4 not_ge, overflow, quo_pos; in _remquof() local
138 overflow = spu_cmpgt(abs_y, VEC_SPLAT_U32(0x7EFFFFFF)); in _remquof()
139 not_ge = spu_or(spu_cmpgt(y4, abs_x), overflow); in _remquof()
Ddivd2.h63 vec_uint4 no_underflow, overflow; in _divd2() local
208 overflow = spu_cmpgt(exp, 0x7FF); in _divd2()
211 mult = spu_sel((vec_double2)exp, (vec_double2)exp_mask, (vec_ullong2)overflow); in _divd2()
/picolibc-latest/newlib/libc/tinystdio/
Dconv_flt.c204 unsigned int overflow = 0; in conv_flt() local
324 overflow = 2; in conv_flt()
332 overflow |= (c != 0); in conv_flt()
465 uint = UF_OR_64(uint, overflow); in conv_flt()
536 overflow |= UF_AND_64(uint, 1); in conv_flt()
537 uint = UF_PLUS_DIGIT(uint, (overflow + 1) >> 2); in conv_flt()
/picolibc-latest/newlib/libc/ssp/
Dssp.tex14 an overflow is detected. These are private entry points intended solely
26 @cindex list of overflow protected functions
/picolibc-latest/newlib/libc/signal/
Dsignal.tex32 A domain error in arithmetic, such as overflow, or division by zero.
/picolibc-latest/newlib/libm/math/
Dmath.tex19 @code{HUGE_VAL}; this number is returned on overflow by many functions.
/picolibc-latest/
DREADME.md187 return NULL/EOVERFLOW on overflow.
347 * Make math overflow and underflow handlers respect rounding modes.
446 * Avoid NaN result from fmal caused by multiply overflow when
644 value on buffer overflow, add ftello/fseeko, fputc return value,
819 4. Make strto{d,f,ld} set errno to ERANGE on overflow/underflow,
/picolibc-latest/test/
Dmeson.build512 args: ['this is a long string that should overflow the buffer'],
/picolibc-latest/newlib/
DChangeLog-20151428 * libc/stdlib/strtod.c (sulp): Cast to int32_t to avoid overflow.
1430 to avoid overflow.
4845 pwc to pmb and convert to array to avoid buffer overflow. Rename c to
9958 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
10777 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
13187 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
14947 overflow detection.
17045 unsigned long comparisons and avoid signed overflow.
17046 (mALLOc): Add overflow check for the number of bytes to allocate.
23634 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
[all …]