public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/15062] New: casinh spurious underflows (away from [-i,i])
@ 2013-01-24 17:35 jsm28 at gcc dot gnu.org
  2013-01-24 17:36 ` [Bug math/15062] " jsm28 at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2013-01-24 17:35 UTC (permalink / raw)
  To: glibc-bugs

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

             Bug #: 15062
           Summary: casinh spurious underflows (away from [-i,i])
           Product: glibc
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jsm28@gcc.gnu.org
    Classification: Unclassified


The computation of casinh using log(z + sqrt(1  + z*z)) suffers from spurious
underflows when the complex sqrt underflows even though neither the real nor
the imaginary part of the final result would underflow.  The same similarly
applies to casin and cacos, implemented in terms of casinh.  Working on a
patch.

This bug is specifically about such underflows away from the line from -i to i
(where the real part of the result is 0); there are probably also such
underflows close to that line, but they will need fixing separately along with
the general issues of inaccuracy close to that line (bug 10357).

-- 
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] 4+ messages in thread

* [Bug math/15062] casinh spurious underflows (away from [-i,i])
  2013-01-24 17:35 [Bug math/15062] New: casinh spurious underflows (away from [-i,i]) jsm28 at gcc dot gnu.org
@ 2013-01-24 17:36 ` jsm28 at gcc dot gnu.org
  2013-01-31 23:04 ` jsm28 at gcc dot gnu.org
  2014-06-13 18:58 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2013-01-24 17:36 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from Joseph Myers <jsm28 at gcc dot gnu.org> 2013-01-24 17:35:45 UTC ---
Example of such a spurious underflow exception on x86_64: casinh (0x1.fp-1025 +
1.5i).

-- 
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] 4+ messages in thread

* [Bug math/15062] casinh spurious underflows (away from [-i,i])
  2013-01-24 17:35 [Bug math/15062] New: casinh spurious underflows (away from [-i,i]) jsm28 at gcc dot gnu.org
  2013-01-24 17:36 ` [Bug math/15062] " jsm28 at gcc dot gnu.org
@ 2013-01-31 23:04 ` jsm28 at gcc dot gnu.org
  2014-06-13 18:58 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2013-01-31 23:04 UTC (permalink / raw)
  To: glibc-bugs

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

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> 2013-01-31 23:04:12 UTC ---
Fixed for 2.18 by:

commit 8cf28c5ebe7b02e769a3f3082fd390e6d8c11542
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Jan 31 22:55:29 2013 +0000

    Fix casinh spurious underflows away from [-i,i] (bug 15062).

-- 
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] 4+ messages in thread

* [Bug math/15062] casinh spurious underflows (away from [-i,i])
  2013-01-24 17:35 [Bug math/15062] New: casinh spurious underflows (away from [-i,i]) jsm28 at gcc dot gnu.org
  2013-01-24 17:36 ` [Bug math/15062] " jsm28 at gcc dot gnu.org
  2013-01-31 23:04 ` jsm28 at gcc dot gnu.org
@ 2014-06-13 18:58 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 18:58 UTC (permalink / raw)
  To: glibc-bugs

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

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] 4+ messages in thread

end of thread, other threads:[~2014-06-13 18:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-24 17:35 [Bug math/15062] New: casinh spurious underflows (away from [-i,i]) jsm28 at gcc dot gnu.org
2013-01-24 17:36 ` [Bug math/15062] " jsm28 at gcc dot gnu.org
2013-01-31 23:04 ` jsm28 at gcc dot gnu.org
2014-06-13 18:58 ` 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).