agemogolk/clay — comment on commit 6560435b712e7750951a3a5891c87b8228486011
File: lib-clay/math/native/core.clay line 9
By agemogolk:

The glibc standard lib comes with two versions. The standard math lib
version is the simple a*b+c. There is also an ieee754 function which use
rounding algorithms to give the most accurate answer - not sure which is
being used by default on my system though . . .

I'm trying not to get too involved with the standard lib ieee754
implementations (unless absolutely necessary) in favour of the newer
crlibm algorithms.

On 13/12/11 23:20, Joe Groff wrote:
> Is the library `fma` slower because it's more accurate, or does it literally just do a multiply then add? IIRC the IEEE standard specifies that fma be more accurate than unfused multiply then add (though I could be thinking of something else).
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/agemogolk/clay/commit/6560435b712e7750951a3a5891c87b8228486011#commitcomment-792135