This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/11521] Ctanh Returns Incorrect Values
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Mon, 09 Apr 2012 22:35:11 +0000
- Subject: [Bug math/11521] Ctanh Returns Incorrect Values
- Auto-submitted: auto-generated
- References: <bug-11521-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=11521
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #5 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-04-09 22:35:11 UTC ---
Fixed for both ctan and ctanh functions by:
commit bcc8d6617ba029c288fff9680a02b9a3b1caa9c0
Author: Joseph Myers <joseph@codesourcery.com>
Date: Mon Apr 9 22:31:35 2012 +0000
Fix ctan, ctanh overflow (bug 11521).
(using the formula from the patch attached to this bug to address overflow from
multiplication by 2 in computing the argument to sincos, and to address
cancellation in computing denominators close to 0, but using a different
approach to address the case where both numerator and denominator overflow so
that subnormal results are properly generated and spurious overflow exceptions
are avoided).
--
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.