This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/13304] fma, fmaf, fmal produce wrong results
- From: "bruno at clisp dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Mon, 17 Oct 2011 22:46:41 +0000
- Subject: [Bug math/13304] fma, fmaf, fmal produce wrong results
- Auto-submitted: auto-generated
- References: <bug-13304-131@http.sourceware.org/bugzilla/>
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.