public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/15405] New: csin, csinh, ccos, ccosh missing underflow exceptions
@ 2013-04-26 15:26 jsm28 at gcc dot gnu.org
  2013-04-26 19:27 ` [Bug math/15405] " jsm28 at gcc dot gnu.org
  2014-06-13 18:14 ` fweimer at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2013-04-26 15:26 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15405

             Bug #: 15405
           Summary: csin, csinh, ccos, ccosh missing underflow exceptions
           Product: glibc
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jsm28@gcc.gnu.org
    Classification: Unclassified


Similar to bug 14478 (fixed) for cexp, the functions csin, csinh, ccos, ccosh
are missing underflow exceptions when the final result underflows but the
multiplication generating it is exact although the mathematical result of the
function is not exactly representable.  Examples showing this on x86_64 are:

csin (0x1p-1074 + 0x1p-1022i)
csinh (0x1p-1022 + 0x1p-1074i)
ccos (0x1p-954 + 0x1p-120i)
ccosh (0x1p-120 + 0x1p-954i)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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/15405] csin, csinh, ccos, ccosh missing underflow exceptions
  2013-04-26 15:26 [Bug math/15405] New: csin, csinh, ccos, ccosh missing underflow exceptions jsm28 at gcc dot gnu.org
@ 2013-04-26 19:27 ` jsm28 at gcc dot gnu.org
  2014-06-13 18:14 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2013-04-26 19:27 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15405

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

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

--- Comment #1 from Joseph Myers <jsm28 at gcc dot gnu.org> 2013-04-26 19:27:43 UTC ---
Fixed for 2.18 by:

commit f0302940e7c2acb587971e3c99dfbd00aa4e2134
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Apr 26 19:25:19 2013 +0000

    Fix csin, csinh, ccos, ccosh missing underflows (bug 15405).

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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/15405] csin, csinh, ccos, ccosh missing underflow exceptions
  2013-04-26 15:26 [Bug math/15405] New: csin, csinh, ccos, ccosh missing underflow exceptions jsm28 at gcc dot gnu.org
  2013-04-26 19:27 ` [Bug math/15405] " jsm28 at gcc dot gnu.org
@ 2014-06-13 18:14 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 18:14 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
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:[~2014-06-13 18:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-26 15:26 [Bug math/15405] New: csin, csinh, ccos, ccosh missing underflow exceptions jsm28 at gcc dot gnu.org
2013-04-26 19:27 ` [Bug math/15405] " jsm28 at gcc dot gnu.org
2014-06-13 18:14 ` fweimer at redhat dot com

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).