Fix description of bogus underflow exception for -large,

Describing bogus invalid exception for certain +large.
This commit is contained in:
Michael Kerrisk 2008-08-04 05:00:32 +00:00
parent a19492526e
commit 19dffabe26
1 changed files with 14 additions and 5 deletions

View File

@ -129,13 +129,22 @@ C99, POSIX.1-2001.
.SH BUGS .SH BUGS
For some large negative For some large negative
.I x .I x
values (where the function result approaches \-1),
.BR expm1 ()
raises a bogus underflow exception.
.\" FIXME .
.\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6778
For some large positive
.I x
values, values,
.BR expm1 () .BR expm1 ()
raises raises a bogus invalid exception in addition to the expected
.\" FIXME . expm1() gives a bogus underflow error for -large overflow exception, and returns a NaN instead of positive infinity.
.\" (where function result approaches -1). .\" FIXME .
.\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6778 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6814
.\" .\" e.g., expm1(1e5) through expm1(1.00199970127e5),
.\" but not expm1(1.00199970128e5) and beyond.
.SH "SEE ALSO" .SH "SEE ALSO"
.BR exp (3), .BR exp (3),
.BR log (3), .BR log (3),