This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/16770] New: scalb spurious "invalid" exceptions
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 28 Mar 2014 21:22:54 +0000
- Subject: [Bug math/16770] New: scalb spurious "invalid" exceptions
- Auto-submitted: auto-generated
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.