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/16770] New: scalb spurious "invalid" exceptions


https://sourceware.org/bugzilla/show_bug.cgi?id=16770

            Bug ID: 16770
           Summary: scalb spurious "invalid" exceptions
           Product: glibc
           Version: 2.19
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org

When the second argument to scalb (or scalbf or scalbl) is an integer too large
for conversion to int, the implementation raises a spurious "invalid" exception
when converting to int to see if the argument is not an integer.  For example,
on x86_64, scalb (1.0, 0x1p100) raises that exception (in addition to the
correct "overflow" and "inexact" exceptions).

-- 
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]