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/16350] asinh missing underflows


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

--- Comment #3 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  8db3cdefefe39e9d42b05b1610a63190e9f7fba4 (commit)
      from  a7a3c24632904b5b1d7e47eaf6b955bba6246b8f (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=8db3cdefefe39e9d42b05b1610a63190e9f7fba4

commit 8db3cdefefe39e9d42b05b1610a63190e9f7fba4
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Jun 18 23:27:41 2015 +0000

    Fix asinh missing underflows (bug 16350).

    Similar to various other bugs in this area, some asinh implementations
    do not raise the underflow exception for subnormal arguments, when the
    result is tiny and inexact.  This patch forces the exception in a
    similar way to previous fixes.

    Tested for x86_64, x86 and mips64.

        [BZ #16350]
        * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
        for arguments with small absolute value.
        * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
        * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
        * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
        (__asinh): Force underflow exception for arguments with small
        absolute value.
        * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
        (__asinhf): Force underflow exception for arguments with small
        absolute value.
        * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
        (__asinhl): Force underflow exception for arguments with small
        absolute value.
        * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
        (__asinhl): Force underflow exception for arguments with small
        absolute value.
        * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
        (__asinhl): Force underflow exception for arguments with small
        absolute value.
        * math/auto-libm-test-in: Do not mark underflow exceptions as
        possibly missing for bug 16350.
        * math/auto-libm-test-out: Regenerated.

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

Summary of changes:
 ChangeLog                              |   24 ++++
 NEWS                                   |   28 ++--
 math/auto-libm-test-in                 |   13 +-
 math/auto-libm-test-out                |  236 ++++++++++++++++----------------
 sysdeps/i386/fpu/s_asinh.S             |   11 ++-
 sysdeps/i386/fpu/s_asinhf.S            |   11 ++-
 sysdeps/i386/fpu/s_asinhl.S            |    7 +-
 sysdeps/ieee754/dbl-64/s_asinh.c       |    6 +
 sysdeps/ieee754/flt-32/s_asinhf.c      |    6 +
 sysdeps/ieee754/ldbl-128/s_asinhl.c    |    6 +
 sysdeps/ieee754/ldbl-128ibm/s_asinhl.c |    6 +
 sysdeps/ieee754/ldbl-96/s_asinhl.c     |    6 +
 12 files changed, 218 insertions(+), 142 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]