mirror of https://github.com/mkerrisk/man-pages
nextafter.3: Since glibc 2.23, these functions do set errno
Modify DESCRIPTION appropriately and add BUGS section. See https://www.sourceware.org/bugzilla/show_bug.cgi?id=6799. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
4cc51f5e5a
commit
839c0fe92a
|
@ -149,26 +149,21 @@ The following errors can occur:
|
|||
.TP
|
||||
Range error: result overflow
|
||||
.\" e.g., nextafter(DBL_MAX, HUGE_VAL);
|
||||
.\" .I errno
|
||||
.\" is set to
|
||||
.\" .BR ERANGE .
|
||||
.I errno
|
||||
is set to
|
||||
.BR ERANGE .
|
||||
An overflow floating-point exception
|
||||
.RB ( FE_OVERFLOW )
|
||||
is raised.
|
||||
.TP
|
||||
Range error: result is subnormal or underflows
|
||||
.\" e.g., nextafter(DBL_MIN, 0.0);
|
||||
.\" .I errno
|
||||
.\" is set to
|
||||
.\" .BR ERANGE .
|
||||
.I errno
|
||||
is set to
|
||||
.BR ERANGE .
|
||||
An underflow floating-point exception
|
||||
.RB ( FE_UNDERFLOW )
|
||||
is raised.
|
||||
.PP
|
||||
These functions do not set
|
||||
.IR errno .
|
||||
.\" FIXME . Is it intentional that these functions do not set errno?
|
||||
.\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6799
|
||||
.SH ATTRIBUTES
|
||||
For an explanation of the terms used in this section, see
|
||||
.BR attributes (7).
|
||||
|
@ -197,5 +192,10 @@ In glibc version 2.5 and earlier, these functions do not raise an underflow
|
|||
floating-point
|
||||
.RB ( FE_UNDERFLOW )
|
||||
exception when an underflow occurs.
|
||||
.SH BUGS
|
||||
Before glibc version 2.23
|
||||
.\" https://www.sourceware.org/bugzilla/show_bug.cgi?id=6799
|
||||
these functions did not set
|
||||
.IR errno .
|
||||
.SH SEE ALSO
|
||||
.BR nearbyint (3)
|
||||
|
|
Loading…
Reference in New Issue