mirror of https://github.com/mkerrisk/man-pages
tgamma.3: Since glibc 2.18, errno is correctly set to EDOM when (x == -infinity))
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
8ee4373d37
commit
31e025bf45
|
@ -113,8 +113,6 @@ when calling these functions.
|
|||
The following errors can occur:
|
||||
.TP
|
||||
Domain error: \fIx\fP is a negative integer, or negative infinity
|
||||
.\" FIXME . errno is not set to EDOM for x == -inf
|
||||
.\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6809
|
||||
.I errno
|
||||
is set to
|
||||
.BR EDOM .
|
||||
|
@ -169,13 +167,14 @@ that returns something else (see
|
|||
.BR gamma (3)
|
||||
for details).
|
||||
.SH BUGS
|
||||
If
|
||||
.I x
|
||||
is negative infinity,
|
||||
Before version 2.18, the glibc implementation of these functions did not set
|
||||
.\" http://sources.redhat.com/bugzilla/show_bug.cgi?id=6809
|
||||
.I errno
|
||||
is not set (it should be set to
|
||||
.BR EDOM ).
|
||||
.\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6809
|
||||
to
|
||||
.B EDOM
|
||||
when
|
||||
.I x
|
||||
is negative infinity.
|
||||
|
||||
In glibc versions 2.3.3 and earlier,
|
||||
an argument of +0 or \-0 incorrectly produced a domain error
|
||||
|
|
Loading…
Reference in New Issue