This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/6777] lgamma() pole error sets errno to EDOM, should be ERANGE
- From: "mtk dot manpages at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 31 Jul 2008 08:25:20 -0000
- Subject: [Bug math/6777] lgamma() pole error sets errno to EDOM, should be ERANGE
- References: <20080730105515.6777.mtk.manpages@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mtk dot manpages at gmail dot com 2008-07-31 08:25 -------
Created an attachment (id=2842)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2842&action=view)
test program
Attached a test program. Sample run showing the problem:
$ /tmp/mt_lgamma -- -1
errno == EDOM
fetestexcept() says: FE_DIVBYZERO
lgamma(-1.00000000000000000e+00)=inf
EDOM FE_DIVBYZERO +inf
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6777
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.