mirror of https://github.com/mkerrisk/man-pages
y0.3: These functions now correctly diagnose a pole error
The fix was in glibc 2.19. See https://sourceware.org/bugzilla/show_bug.cgi?id=6807 Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
c2e0ff42a4
commit
696b65a571
22
man3/y0.3
22
man3/y0.3
|
@ -187,15 +187,11 @@ Pole error: \fIx\fP is 0.0
|
|||
.\" as a range error.
|
||||
.I errno
|
||||
is set to
|
||||
.\" FIXME . y0(0.0) gives EDOM
|
||||
.BR ERANGE
|
||||
(but see BUGS).
|
||||
No
|
||||
and an
|
||||
.B FE_DIVBYZERO
|
||||
exception is returned by
|
||||
.BR fetestexcept (3)
|
||||
for this case.
|
||||
.\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6808
|
||||
exception is raised
|
||||
(but see BUGS).
|
||||
.TP
|
||||
Range error: result underflow
|
||||
.\" e.g., y0(1e33) on glibc 2.8/x86-32
|
||||
|
@ -253,15 +249,17 @@ conform to SVr4, 4.3BSD,
|
|||
POSIX.1-2001, POSIX.1-2008.
|
||||
The others are nonstandard functions that also exist on the BSDs.
|
||||
.SH BUGS
|
||||
On a pole error, these functions set
|
||||
Before glibc 2.19,
|
||||
.\" http://sourceware.org/bugzilla/show_bug.cgi?id=6807
|
||||
these functions misdiagnosed pole errors:
|
||||
.I errno
|
||||
to
|
||||
was set to
|
||||
.BR EDOM ,
|
||||
instead of
|
||||
.BR ERANGE
|
||||
as POSIX.1-2004 requires.
|
||||
.\" FIXME .
|
||||
.\" Bug raised: http://sourceware.org/bugzilla/show_bug.cgi?id=6807
|
||||
and no
|
||||
.B FE_DIVBYZERO
|
||||
exception was raised.
|
||||
.PP
|
||||
In glibc version 2.3.2 and earlier,
|
||||
.\" FIXME . Actually, 2.3.2 is the earliest test result I have; so yet
|
||||
|
|
Loading…
Reference in New Issue