This is the mail archive of the glibc-bugs@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]

[Bug math/13304] fma, fmaf, fmal produce wrong results


http://sourceware.org/bugzilla/show_bug.cgi?id=13304

--- Comment #30 from Bruno Haible <bruno at clisp dot org> 2011-10-17 22:46:41 UTC ---
(In reply to comment #25)
Jakub,

> your implementation will do the wrong thing if you call say
> fma (DBL_MAX, DBL_MAX, -__builtin_inf (""));
> will I think in your implementation return NaN, while it must be -Inf.

Good point, yes. I've updated the attached test suite to check this, and fixed
the attached implementation code. Thanks.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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