Joseph Myers
4ba7a00fe3
Fix __ieee754_logl (-LDBL_MAX) in FE_DOWNWARD mode (bug 17022).
...
This patch fixes __ieee754_logl (-LDBL_MAX) on x86_64 and x86 not to
subtract 1 from its argument and so cause spurious overflow in
FE_DOWNWARD mode. (For any argument strictly less than -1, it doesn't
matter whether or not 1 is subtracted before computing log1p, as long
as the result doesn't overflow to -Inf.)
Tested x86_64 and x86. (This particular case lacks test coverage,
since the testsuite doesn't cover -lieee, but it will be covered by
tests after the following patch to test pow in all rounding modes,
which was the context in which this bug was found.)
[BZ #17022 ]
* sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
from arguments -2 or below.
* sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
* sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2014-06-18 12:32:01 +00:00
..
2014-06-11 21:33:32 -07:00
2014-01-01 22:00:23 +10:00
2014-06-18 12:32:01 +00:00
2014-05-03 00:25:21 -04:00
2014-06-12 10:08:24 -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
2010-07-30 00:14:04 -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
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
2010-07-30 00:14:04 -07:00
2010-07-30 00:14:04 -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
2012-01-07 23:57:22 -05:00
2010-08-14 22:04:01 -07:00
2010-08-14 22:04:01 -07: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
2011-04-01 19:38:21 -04: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