public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/15496] New: ldbl-128ibm nexttowar[d/f/l] generates spurious inexact exception
@ 2013-05-20 13:53 azanella at linux dot vnet.ibm.com
  2014-01-02 20:27 ` [Bug math/15496] " jsm28 at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: azanella at linux dot vnet.ibm.com @ 2013-05-20 13:53 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-20 13:53 [Bug math/15496] New: ldbl-128ibm nexttowar[d/f/l] generates spurious inexact exception azanella at linux dot vnet.ibm.com
2014-01-02 20:27 ` [Bug math/15496] " jsm28 at gcc dot gnu.org
2014-01-09 11:25 ` azanella at linux dot vnet.ibm.com
2014-06-13 17:43 ` 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).