[PATCH] Make ieee754 fma tolerate architectures without exception support.
Joseph S. Myers
joseph@codesourcery.com
Mon Nov 5 18:16:00 GMT 2012
On Mon, 5 Nov 2012, Chris Metcalf wrote:
> +/* For IEEE754 architectures without exception support, tolerate imprecision
> + in __fma but allow using this implementation instead of the generic one.
It really shouldn't be hard to adapt Bruno Haible's gnulib fma / fmaf /
fmal to replace the generic versions with something accurate if slow (bug
13304) - but this does require approval to use the code under LGPLv2.1+
(the glibc license).
(I don't know if the gnulib version passes all the tests I've added to
glibc lately for various fma bugs I've fixed - there's still one left to
fix, bug 14793 - but any problems those tests show ought to be easy to
fix.)
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list