]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
expm1.3: The bogus invalid floating-point exception bug has been fixed
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 23 May 2020 09:56:12 +0000 (11:56 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 25 May 2020 13:46:44 +0000 (15:46 +0200)
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>
man3/expm1.3

index 460068a6db10c81812d3dde11cba0554ee8f4904..8b60c34530715d210bbb7e1f88c5b7e103672338 100644 (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.