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
350 B
C
9 lines
350 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_fma.c>
|