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] Implement fma correctly


On 10/12/2010 12:16 PM, Jakub Jelinek wrote:
> Tested on x86_64-linux, it is very well possible it won't work correctly
> on i686 due to excess precision.

Given that you're already manipulating the status word, you
could go ahead and force 53-bit rounding at the same time
with minimal extra overhead.  Of course, feupdateenv does
not reset the rounding size to match.  You'd have to either
open-code that function in order avoid doing extra work,
or add new helper functions.


r~


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