This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/3868] New: expl(huge negative value) incorrectly signals an OVERFLOW exception
- From: "kreckel at ginac dot de" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 14 Jan 2007 21:46:37 -0000
- Subject: [Bug math/3868] New: expl(huge negative value) incorrectly signals an OVERFLOW exception
- Reply-to: sourceware-bugzilla at sourceware dot org
For negative long double arguments of huge magnitude, the expl() library
function sets the FPUs OVERFLOW exception flag, in addition to the UNDERFLOW and
INEXACT excpetion flags. This can easily be reproduced by passing a long double
of value -LDBL_MAX as argument. The result is +0.0 exactly, but the OVERFLOW
flag is set. In contrast, exp(-DBL_MAX) onlt sets the UNDERFLOW and INEXACT
floating point exception flags.
--
Summary: expl(huge negative value) incorrectly signals an
OVERFLOW exception
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
http://sourceware.org/bugzilla/show_bug.cgi?id=3868
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.