This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/3919] New: Quiet NaNs not propagated quietly by some math functions
- From: "kreckel at ginac dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 25 Jan 2007 12:58:22 -0000
- Subject: [Bug math/3919] New: Quiet NaNs not propagated quietly by some math functions
- Reply-to: sourceware-bugzilla at sourceware dot org
I've conducted a survey of the qNaN propagation of all C99 <math.h> functions on
i386 and found the following nonconformances:
- The acosh and acoshf functions raise the invalid exception flag if their
argument is a quiet NaN. (The acoshl function does not do that.)
- The log, logf, and logl functions raise the invalid exception flag if
their argument is a quiet NaN.
- The ilogb, ilogbf, and ilogbl raise the invalid exception flag if their
argument is a quiet NaN. According to C99, they should compute
P_ILOGBNAN. They do not appear to be required to raise a domain error
and I have doublts this is in accordance with the spirit of IEEE754.
--
Summary: Quiet NaNs not propagated quietly by some math functions
Product: glibc
Version: 2.4
Status: NEW
Severity: normal
Priority: P2
Component: math
AssignedTo: aj at suse dot de
ReportedBy: kreckel at ginac dot de
CC: glibc-bugs at sources dot redhat dot com
GCC host triplet: i686-pc-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=3919
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.