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/16559] Missing underflow exception from j1/jn


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

--- Comment #7 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  63dbe5f32238858c7b953b867ed0588c7808dd4f (commit)
      from  31545c23277cd54a1edd41c85d8255fb589158e3 (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=63dbe5f32238858c7b953b867ed0588c7808dd4f

commit 63dbe5f32238858c7b953b867ed0588c7808dd4f
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Jun 29 16:52:16 2015 +0000

    Fix j1, jn missing underflows (bug 16559).

    Similar to various other bugs in this area, j1 and jn implementations
    can fail to raise the underflow exception when the internal
    computation is exact although the actual function is inexact.  This
    patch forces the exception in a similar way to other such fixes.  (The
    ldbl-128 / ldbl-128ibm j1l implementation is different and doesn't
    need a change for this until spurious underflows in it are fixed.)

    Tested for x86_64, x86, mips64 and powerpc.

        [BZ #16559]
        * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
        (__ieee754_j1): Force underflow exception for small results.
        * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
        * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
        (__ieee754_j1f): Force underflow exception for small results.
        * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
        * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
        * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
        * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
        (__ieee754_j1l): Force underflow exception for small results.
        * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
        * math/auto-libm-test-in: Add more tests of j1 and jn.
        * math/auto-libm-test-out: Regenerated.

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

Summary of changes:
 ChangeLog                           |   15 +
 NEWS                                |   30 +-
 math/auto-libm-test-in              |   16 +
 math/auto-libm-test-out             |  948 +++++++++++++++++++++++++++++++++++
 sysdeps/ieee754/dbl-64/e_j1.c       |   13 +-
 sysdeps/ieee754/dbl-64/e_jn.c       |    5 +
 sysdeps/ieee754/flt-32/e_j1f.c      |   10 +-
 sysdeps/ieee754/flt-32/e_jnf.c      |    4 +
 sysdeps/ieee754/ldbl-128/e_jnl.c    |    5 +
 sysdeps/ieee754/ldbl-128ibm/e_jnl.c |    5 +
 sysdeps/ieee754/ldbl-96/e_j1l.c     |   13 +-
 sysdeps/ieee754/ldbl-96/e_jnl.c     |    5 +
 12 files changed, 1049 insertions(+), 20 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]