From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25804 invoked by alias); 20 May 2013 13:53:17 -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 25777 invoked by uid 48); 20 May 2013 13:53:12 -0000 From: "azanella at linux dot vnet.ibm.com" To: glibc-bugs@sourceware.org Subject: [Bug math/15496] New: ldbl-128ibm nexttowar[d/f/l] generates spurious inexact exception Date: Mon, 20 May 2013 13:53: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-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: azanella at linux dot vnet.ibm.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-SW-Source: 2013-05/txt/msg00157.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=15496 Bug #: 15496 Summary: ldbl-128ibm nexttowar[d/f/l] generates spurious inexact exception Product: glibc Version: 2.18 Status: NEW Severity: minor Priority: P2 Component: math AssignedTo: unassigned@sourceware.org ReportedBy: azanella@linux.vnet.ibm.com Classification: Unclassified This is triggered by glibc testcase "nexttowar[d/f/l] (qNaN, 1.1)". The source of the issue is sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c, sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c, and sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c all return 'x+y' as return if x or y is a NaN. A possible fix would just return __builtin_nan[f|l] instead. -- 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.