This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/15496] New: ldbl-128ibm nexttowar[d/f/l] generates spurious inexact exception


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]