This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Make ieee754 fma tolerate architectures without exceptionsupport.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]