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/18049] [i386] atanhl spurious underflows


https://sourceware.org/bugzilla/show_bug.cgi?id=18049

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  526af54142db14c1edcd2d80dc1b56d33ff4e8ce (commit)
      from  88ed594f5d431d855256edbe7e886c8cf4b575dc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=526af54142db14c1edcd2d80dc1b56d33ff4e8ce

commit 526af54142db14c1edcd2d80dc1b56d33ff4e8ce
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue May 19 23:05:22 2015 +0000

    Fix i386 atanhl spurious underflows (bug 18049).

    The i386 implementation of atanhl, for small arguments, does a
    calculation that involves computing twice the square of the argument,
    resulting in spurious underflows for some arguments.  This patch fixes
    this by just returning the argument when its exponent is below -32,
    with underflow being forced as needed for subnormal arguments.

    Tested for x86 and x86_64.

        [BZ #18049]
        * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
        below -32, return the argument, with underflow if subnormal.
        * math/auto-libm-test-in: Add more tests of atanh.
        * math/auto-libm-test-out: Regenerated.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                   |    8 +
 NEWS                        |    8 +-
 math/auto-libm-test-in      |    5 +
 math/auto-libm-test-out     |  325 +++++++++++++++++++++++++++++++++++++++++++
 sysdeps/i386/fpu/e_atanhl.S |   10 ++
 5 files changed, 352 insertions(+), 4 deletions(-)

-- 
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]