mirror of https://github.com/mkerrisk/man-pages
lgamma.3: glibc 2.10 fixed pole error bug
http://sourceware.org/bugzilla/show_bug.cgi?id=6777 was (silently) resolved. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
1f6982a0db
commit
707a25b2d5
|
@ -4,7 +4,7 @@
|
|||
.\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
|
||||
.\" <mtk.manpages@gmail.com>
|
||||
.\"
|
||||
.TH LGAMMA 3 2008-08-05 "" "Linux Programmer's Manual"
|
||||
.TH LGAMMA 3 2010-09-11 "" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
lgamma, lgammaf, lgammal, lgamma_r, lgammaf_r, lgammal_r, signgam \-
|
||||
log gamma function
|
||||
|
@ -120,7 +120,6 @@ The following errors can occur:
|
|||
Pole error: \fIx\fP is a nonpositive integer
|
||||
.I errno
|
||||
is set to
|
||||
.\" FIXME . glibc 2.8 gives EDOM!
|
||||
.BR ERANGE
|
||||
(but see BUGS).
|
||||
A divide-by-zero floating-point exception
|
||||
|
@ -146,14 +145,14 @@ The
|
|||
.BR lgamma_r ()
|
||||
functions are nonstandard, but present on several other systems.
|
||||
.SH BUGS
|
||||
For a pole error,
|
||||
.\"
|
||||
.\" FIXME . this is as at glibc 2.8; check later if this bug is fixed
|
||||
.\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6777
|
||||
In glibc 2.9 and earlier,
|
||||
.\" http://sources.redhat.com/bugzilla/show_bug.cgi?id=6777
|
||||
when a pole error occurs,
|
||||
.I errno
|
||||
is set to
|
||||
.BR EDOM ;
|
||||
POSIX.1 says it should be set to
|
||||
instead of the POSIX-mandated
|
||||
.BR ERANGE .
|
||||
Since version 2.10, glibc does the right thing.
|
||||
.SH "SEE ALSO"
|
||||
.BR tgamma (3)
|
||||
|
|
Loading…
Reference in New Issue