public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/18612] New: ldbl-128 j1l spurious underflows
@ 2015-06-29 17:14 jsm28 at gcc dot gnu.org
  2015-06-29 17:52 ` [Bug math/18612] " cvs-commit at gcc dot gnu.org
  2015-06-29 17:53 ` jsm28 at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-06-29 17:14 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 18612
           Summary: ldbl-128 j1l spurious underflows
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---

The ldbl-128 implementation of j1l produces spurious underflow exceptions for
some small arguments, e.g. on mips64:

Failure: j1 (0x1p-10000): Exception "Underflow" set

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug math/18612] ldbl-128 j1l spurious underflows
  2015-06-29 17:14 [Bug math/18612] New: ldbl-128 j1l spurious underflows jsm28 at gcc dot gnu.org
@ 2015-06-29 17:52 ` cvs-commit at gcc dot gnu.org
  2015-06-29 17:53 ` jsm28 at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-06-29 17:52 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 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  4aa10d01b654b7395c6e856b8e1e0959cfc80739 (commit)
      from  63dbe5f32238858c7b953b867ed0588c7808dd4f (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=4aa10d01b654b7395c6e856b8e1e0959cfc80739

commit 4aa10d01b654b7395c6e856b8e1e0959cfc80739
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Jun 29 17:51:32 2015 +0000

    Fix ldbl-128 j1l spurious underflows (bug 18612).

    The ldbl-128 implementation of j1l produces spurious underflow
    exceptions for some small arguments, as a result of squaring the
    argument.  This patch fixes it just to use a linear approximation for
    sufficiently small arguments, and then to force an underflow exception
    only in the cases where it is required.

    Tested for mips64.

        [BZ #18612]
        * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
        arguments, just return 0.5 times the argument, with underflow
        forced as needed.
        * math/auto-libm-test-in: Add more tests of j1.
        * math/auto-libm-test-out: Regenerated.

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

Summary of changes:
 ChangeLog                        |    7 ++
 NEWS                             |    2 +-
 math/auto-libm-test-in           |    3 +
 math/auto-libm-test-out          |  175 ++++++++++++++++++++++++++++++++++++++
 sysdeps/ieee754/ldbl-128/e_j1l.c |   10 ++
 5 files changed, 196 insertions(+), 1 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug math/18612] ldbl-128 j1l spurious underflows
  2015-06-29 17:14 [Bug math/18612] New: ldbl-128 j1l spurious underflows jsm28 at gcc dot gnu.org
  2015-06-29 17:52 ` [Bug math/18612] " cvs-commit at gcc dot gnu.org
@ 2015-06-29 17:53 ` jsm28 at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-06-29 17:53 UTC (permalink / raw)
  To: glibc-bugs

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.22.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-29 17:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-29 17:14 [Bug math/18612] New: ldbl-128 j1l spurious underflows jsm28 at gcc dot gnu.org
2015-06-29 17:52 ` [Bug math/18612] " cvs-commit at gcc dot gnu.org
2015-06-29 17:53 ` jsm28 at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).