mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-23 13:09:58 +08:00
The implementations of trunc functions using x87 floating point (i386 and x86_64 long double only) traps when FE_INEXACT is enabled. Although this is a GNU extension outside the scope of the C standard, other architectures that also support traps do not show this behavior. The fix moves the implementation to a common one that holds any exceptions with a 'fnclex' (libc_feholdexcept_setround_387). Checked on x86_64-linux-gnu and i686-linux-gnu. Reviewed-by: H.J. Lu <hjl.tools@gmail.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_ceill.c | ||
s_ffma.c | ||
s_floorl.c | ||
s_fpclassifyl.c | ||
s_isnanl.c | ||
s_nearestint_387_template.c | ||
s_sincosf_data.c | ||
s_truncl.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 |