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/11521] Ctanh Returns Incorrect Values


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.


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