public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/18370] New: csqrt missing underflows
@ 2015-05-02 20:43 jsm28 at gcc dot gnu.org
  2015-08-19 22:43 ` [Bug math/18370] " jsm28 at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-05-02 20:43 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 18370
           Summary: csqrt 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: ---

The csqrt implementations in glibc can miss underflow exceptions when the
result becomes tiny in the course of multiplying by 0.5 (or other scaling down)
and that scaling happens to be exact (but the mathematical result is not
exact).  E.g., for float on x86_64:

Failure: Real part of: csqrt_downward (-0x1.08e754p+16 - 0x7.ede03p-120 i):
Exception "Underflow" not set
Failure: Real part of: csqrt_downward (0xb.6554ep+0 + 0x1.247482p-124 i):
Exception "Underflow" not set
Failure: Real part of: csqrt_towardzero (0xb.6554ep+0 + 0x1.247482p-124 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] 2+ messages in thread

* [Bug math/18370] csqrt missing underflows
  2015-05-02 20:43 [Bug math/18370] New: csqrt missing underflows jsm28 at gcc dot gnu.org
@ 2015-08-19 22:43 ` jsm28 at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-08-19 22:43 UTC (permalink / raw)
  To: glibc-bugs

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

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

end of thread, other threads:[~2015-08-19 22:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-02 20:43 [Bug math/18370] New: csqrt missing underflows jsm28 at gcc dot gnu.org
2015-08-19 22:43 ` [Bug math/18370] " 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).