Joseph Myers
4060283dec
Fix x86/x86_64 expm1l spurious underflow exceptions (bug 16539).
...
This patch fixes bug 16539, spurious underflow exceptions from x86 /
x86-64 expm1l. The problem is that the computation of a base-2
exponent with extra precision involves spurious underflows for
arguments that are small but not subnormal, so a check is added to
just return the argument in those cases. (If the argument *is*
subnormal, underflowing is correct and the existing code will always
underflow, so it suffices to keep using the existing code in that
case; some expm1 implementations have a bug (bug 16353) with missing
underflow exceptions, but I don't think there's such a bug in this
particular version.)
Tested x86_64 and x86; no ulps updates needed.
(auto-libm-test-out diffs omitted below.)
[BZ #16539 ]
* sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
return the argument for normal arguments with exponent below -64.
* sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
Likewise.
* math/auto-libm-test-in: Add another test of expm1.
* math/auto-libm-test-out: Regenerated.
2014-06-24 21:00:08 +00:00
..
2014-06-11 21:33:32 -07:00
2014-01-01 22:00:23 +10:00
2014-06-24 21:00:08 +00:00
2014-06-20 14:52:29 -07:00
2014-06-20 19:50:16 -07:00
2014-06-11 21:33:32 -07:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-04-09 15:38:09 -07:00
2014-04-09 15:38:09 -07:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-02-10 15:07:12 +01:00
2014-01-01 22:00:23 +10:00
2014-02-10 15:07:12 +01:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-04-16 14:46:49 -07:00
2014-04-16 14:46:49 -07:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2012-05-30 14:13:18 -07:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2011-08-11 14:07:04 -04:00
2014-01-01 22:00:23 +10:00
2014-05-30 10:50:21 -07:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-03-13 11:19:08 -07:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2013-02-17 21:57:26 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2013-10-30 17:32:08 +10:00
2013-10-30 17:32:08 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-06-20 19:50:16 -07:00
2013-09-23 00:52:09 -04:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2012-01-07 23:57:22 -05:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2012-01-07 23:57:22 -05:00
2013-03-18 07:39:12 +01:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2013-02-17 21:57:26 +00:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2012-07-17 11:30:58 +00:00
2014-04-03 10:47:14 -07:00
2013-04-25 19:23:11 +00:00
2013-04-25 19:23:11 +00:00
2013-04-25 19:23:11 +00:00
2013-04-25 19:23:11 +00:00
2013-04-25 19:23:11 +00:00
2014-03-13 11:19:08 -07:00
2014-01-01 22:00:23 +10:00
2013-04-25 19:23:11 +00:00
2013-04-25 19:23:11 +00:00
2013-04-25 19:23:11 +00:00
2013-04-25 19:23:11 +00:00
2013-04-25 19:23:11 +00:00
2013-04-25 19:23:11 +00:00
2013-04-25 19:23:11 +00:00
2013-04-25 19:23:11 +00:00
2013-04-25 19:23:11 +00:00
2013-04-25 19:23:11 +00:00
2013-04-25 19:23:11 +00:00
2014-03-13 11:19:08 -07:00
2014-03-13 11:19:08 -07:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2012-05-10 17:05:06 -07:00
2012-05-10 17:05:06 -07:00
2012-05-10 17:05:06 -07:00
2014-01-01 22:00:23 +10:00
2012-05-10 17:05:06 -07:00
2014-01-01 22:00:23 +10:00
2012-05-10 17:05:06 -07:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00
2014-01-01 22:00:23 +10:00