This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/15496] New: ldbl-128ibm nexttowar[d/f/l] generates spurious inexact exception
- From: "azanella at linux dot vnet.ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 20 May 2013 13:53:12 +0000
- Subject: [Bug math/15496] New: ldbl-128ibm nexttowar[d/f/l] generates spurious inexact exception
- Auto-submitted: auto-generated
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.