mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-29 08:11:08 +00:00
ac9182e753
It turns out that even if you stub out the rounding and exception support and use the ieee754 version, it's still much better than the generic version that just uses normal multiply and add. The resulting functions have only 1 ULP of error according to the tests.
9 lines
351 B
C
9 lines
351 B
C
/* tile does not support the rounding modes required by the ieee754/dbl-64
|
|
implementation, but it's still better than the generic implementation. */
|
|
|
|
#define libc_feholdexcept_setround(e, x) do { (void) (e); } while (0)
|
|
#define libc_feupdateenv_test(e, x) ((void) (e), 0)
|
|
#define libc_fetestexcept(x) 0
|
|
|
|
#include <sysdeps/ieee754/dbl-64/s_fmaf.c>
|