This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug math/552] New: Wrong return values for tgamma (0) and tgamma (-0)
- From: "hjl at lucon dot org" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 16 Nov 2004 22:48:40 -0000
- Subject: [Bug math/552] New: Wrong return values for tgamma (0) and tgamma (-0)
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
According to IEEE Std 1003.1, 2004 Edition:
http://www.opengroup.org/onlinepubs/009695399/functions/tgamma.html
If x is ±0, a pole error shall occur, and tgamma(), tgammaf(), and tgammal()
shall return ±HUGE_VAL, ±HUGE_VALF, and ±HUGE_VALL, respectively.
But glibc returns NAN.
--
Summary: Wrong return values for tgamma (0) and tgamma (-0)
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: math
AssignedTo: aj at suse dot de
ReportedBy: hjl at lucon dot org
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=552
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.