public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/18595] New: ctan, ctanh missing underflows
@ 2015-06-24 20:32 jsm28 at gcc dot gnu.org
  2015-09-15 17:47 ` [Bug math/18595] " jsm28 at gcc dot gnu.org
  2015-09-15 17:47 ` cvs-commit at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-06-24 20:32 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 18595
           Summary: ctan, ctanh missing 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: ---

ctan and ctanh fail to raise underflow exceptions for some cases that should
underflow, e.g. for float on x86_64:

Failure: Real part of: ctan (-0x8p-152 + +0 i): Exception "Underflow" not set
Failure: Real part of: ctanh (+0 - 0x8p-152 i): Exception "Underflow" not 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/18595] ctan, ctanh missing underflows
  2015-06-24 20:32 [Bug math/18595] New: ctan, ctanh missing underflows jsm28 at gcc dot gnu.org
  2015-09-15 17:47 ` [Bug math/18595] " jsm28 at gcc dot gnu.org
@ 2015-09-15 17:47 ` cvs-commit at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-09-15 17:47 UTC (permalink / raw)
  To: glibc-bugs

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

--- 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  0b87419b690d1711697ed95808527400910ff997 (commit)
      from  694aabefd2eb3a0e2c5624d7feb1d7310b2bdd8b (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=0b87419b690d1711697ed95808527400910ff997

commit 0b87419b690d1711697ed95808527400910ff997
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Tue Sep 15 17:46:08 2015 +0000

    Fix ctan, ctanh missing underflows (bug 18595).

    Similar to various other bugs in this area, ctan and ctanh can fail to
    raise the underflow exception for some cases of results that are tiny
    and inexact.  This patch forces the exception in a similar way to
    previous fixes.

    Tested for x86_64 and x86.

        [BZ #18595]
        * math/s_ctan.c (__ctan): Force underflow exception for results
        whose real or imaginary part has small absolute value.
        * math/s_ctanf.c (__ctanf): Likewise.
        * math/s_ctanh.c (__ctanh): Likewise.
        * math/s_ctanhf.c (__ctanhf): Likewise.
        * math/s_ctanhl.c (__ctanhl): Likewise.
        * math/s_ctanl.c (__ctanl): Likewise.
        * math/auto-libm-test-in: Do not allow missing underflow for ctan
        and ctanh.  Add more tests of ctan and ctanh.

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

Summary of changes:
 ChangeLog               |   11 +
 NEWS                    |    8 +-
 math/auto-libm-test-in  |   26 +-
 math/auto-libm-test-out | 1032 ++++++++++++++++++++++++++++++++++++++---------
 math/s_ctan.c           |   10 +
 math/s_ctanf.c          |   10 +
 math/s_ctanh.c          |   10 +
 math/s_ctanhf.c         |   10 +
 math/s_ctanhl.c         |   10 +
 math/s_ctanl.c          |   10 +
 10 files changed, 923 insertions(+), 214 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/18595] ctan, ctanh missing underflows
  2015-06-24 20:32 [Bug math/18595] New: ctan, ctanh missing underflows jsm28 at gcc dot gnu.org
@ 2015-09-15 17:47 ` jsm28 at gcc dot gnu.org
  2015-09-15 17:47 ` cvs-commit at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-09-15 17:47 UTC (permalink / raw)
  To: glibc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.23

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

-- 
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-09-15 17:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-24 20:32 [Bug math/18595] New: ctan, ctanh missing underflows jsm28 at gcc dot gnu.org
2015-09-15 17:47 ` [Bug math/18595] " jsm28 at gcc dot gnu.org
2015-09-15 17:47 ` cvs-commit 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).