From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 392 invoked by alias); 28 Mar 2014 21:22:58 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 359 invoked by uid 48); 28 Mar 2014 21:22:55 -0000 From: "jsm28 at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug math/16770] New: scalb spurious "invalid" exceptions Date: Fri, 28 Mar 2014 21:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.19 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-03/txt/msg00220.txt.bz2 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.