y0.3: srcfix: Note on "Range error: result underflow" and FE_UNDERFLOW

The fact that an FE_UNDERFLOW exception is not raised for
"Range error: result underflow" is intended behavior.
See https://www.sourceware.org/bugzilla/show_bug.cgi?id=6806.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-05-26 12:10:55 +02:00
parent 84828d04a6
commit c2e0ff42a4
1 changed files with 2 additions and 5 deletions

View File

@ -202,14 +202,11 @@ Range error: result underflow
.I errno
is set to
.BR ERANGE .
.\" An underflow floating-point exception
.\" .RB ( FE_UNDERFLOW )
.\" is raised.
.\" FIXME . Is it intentional that these functions do not use FE_*?
.\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6806
No
.B FE_UNDERFLOW
exception is returned by
.\" This is intended behavior
.\" See http://sources.redhat.com/bugzilla/show_bug.cgi?id=6806
.BR fetestexcept (3)
for this case.
.TP