BUGS: In glibc 2.3.3, tgamma(+-0) produced a domain error

instead of a pole error.
This commit is contained in:
Michael Kerrisk 2008-08-10 15:10:08 +00:00
parent 078dfbb054
commit 756ede2e38
1 changed files with 10 additions and 1 deletions

View File

@ -5,7 +5,7 @@
.\" <mtk.manpages@gmail.com> .\" <mtk.manpages@gmail.com>
.\" Modified 2004-11-15, fixed error noted by Fabian Kreutz .\" Modified 2004-11-15, fixed error noted by Fabian Kreutz
.\" <kreutz@dbs.uni-hannover.de> .\" <kreutz@dbs.uni-hannover.de>
.TH TGAMMA 3 2008-08-05 "GNU" "Linux Programmer's Manual" .TH TGAMMA 3 2008-08-10 "GNU" "Linux Programmer's Manual"
.SH NAME .SH NAME
tgamma, tgammaf, tgammal \- true gamma function tgamma, tgammaf, tgammal \- true gamma function
.SH SYNOPSIS .SH SYNOPSIS
@ -160,6 +160,15 @@ is negative infinity,
is not set (it should be set to is not set (it should be set to
.BR EDOM ). .BR EDOM ).
.\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6809 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6809
In glibc versiosn 2.3.3 and earlier,
an argument of +0 or -0 incorectly produced a domain error
.RI ( errno
set to
.B EDOM
and an
.B FE_INVALID
exception raised), rather than a pole error.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR gamma (3), .BR gamma (3),
.BR lgamma (3) .BR lgamma (3)