This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/4407] signgam value for lgamma on special values
- From: "vincent+libc at vinc17 dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 23 Apr 2007 14:54:48 -0000
- Subject: [Bug math/4407] signgam value for lgamma on special values
- References: <20070422223900.4407.vincent+libc@vinc17.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From vincent+libc at vinc17 dot org 2007-04-23 15:54 -------
(In reply to comment #1)
> For lgamma (-0.) according to
> http://www.opengroup.org/onlinepubs/009695399/functions/lgamma.html
> If x is a non-positive integer, a pole error should occur and +HUGE_VAL be
> returned, the same as for lgamma (0.).
Yes, the return value is correct. But the signgam value (which is the sign of
the Gamma function, i.e. tgamma) is not for lgamma(-0.).
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4407
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.