expm1.3: The bogus invalid floating-point exception bug has been fixed

Sometime around 2009 (approximately 2.11) according to
https://www.sourceware.org/bugzilla/show_bug.cgi?id=6814.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-05-23 11:56:12 +02:00
parent 3887f72666
commit 62d6b18353
1 changed files with 8 additions and 8 deletions

View File

@ -153,16 +153,16 @@ for some large negative
.I x
values (where the function result approaches \-1),
.PP
For some large positive
.I x
values,
.BR expm1 ()
raises a bogus invalid floating-point exception in addition to the expected
overflow exception, and returns a NaN instead of positive infinity.
.\" FIXME .
.\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6814
Before approximately glibc version 2.11,
.\" 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.
.BR expm1 ()
raised a bogus invalid floating-point exception in addition to the expected
overflow exception, and returned a NaN instead of positive infinity.
for some large positive
.I x
values,
.PP
Before version 2.11,
.\" It looks like the fix was in 2.11, or possibly 2.12.