From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 57858 invoked by alias); 2 May 2015 20:43:47 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 57470 invoked by uid 48); 2 May 2015 20:43:43 -0000 From: "jsm28 at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug math/18370] New: csqrt missing underflows Date: Sat, 02 May 2015 20:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.21 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-05/txt/msg00001.txt.bz2 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.