mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 00:31:08 +00:00
47a9eeb9ba
According to ISO C23 (7.6.4.4), fesetexcept is supposed to set floating-point exception flags without raising a trap (unlike feraiseexcept, which is supposed to raise a trap if feenableexcept was called with the appropriate argument). The flags can be set in the 387 unit or in the SSE unit. To set a flag, it is sufficient to do it in the SSE unit, because that is guaranteed to not trap. However, on i386 CPUs that have only a 387 unit, set the flags in the 387, as long as this cannot trap. Checked on i686-linux-gnu. Reviewed-by: Carlos O'Donell <carlos@redhat.com> |
||
---|---|---|
.. | ||
bits | ||
finclude | ||
e_sqrtf128.c | ||
e_sqrtl.c | ||
fenv_private.h | ||
fix-fp-int-compare-invalid.h | ||
Makefile | ||
math_private.h | ||
math-barriers.h | ||
nan-pseudo-number.h | ||
powl_helper.c | ||
s_ffma.c | ||
s_fpclassifyl.c | ||
s_isnanl.c | ||
s_sincosf_data.c | ||
sfp-machine.h | ||
sincosf_poly.h | ||
test-fenv-clear-sse.c | ||
test-fenv-sse-2.c | ||
test-fenv-sse.c | ||
test-fenv-x87.c | ||
test-flt-eval-method-387.c | ||
test-flt-eval-method-sse.c | ||
test-math-vector-sincos.h |