Joseph Myers
2dec468fd8
Fix ldbl-128 logl for subnormals (bug 16338).
...
This patch fixes bug 16338, ldbl-128 logl not handling subnormals
(with consequent inaccuracy for lgammal as well). The fix is simply
to use __frexpl when determining the exponent, as done already in
log2l and log10l. Given the lack of testing of small arguments to any
of the log* functions, appropriate tests are added for all of them.
Tested x86_64 and x86 and ulps updated accordingly, and spot tests
also run for mips64 to confirm the ldbl-128 fix.
Note that while this fixes lgammal inaccuracy for small positive
arguments, I suspect that there will still be problems with spurious
underflows in that case.
* sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
to determine exponent and adjust argument to have exponent of -1.
* math/auto-libm-test-in: Add more tests of log, log10, log1p and
log2.
* math/auto-libm-test-out: Regenerated.
* sysdeps/x86_64/fpu/libm-test-ulps: Update.
2013-12-18 11:38:27 +00:00
..
2012-04-30 18:56:39 +00:00
2012-04-30 09:38:06 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2012-04-30 18:56:39 +00:00
2012-04-30 18:56:39 +00:00
2011-10-12 11:27:51 -04:00
2011-10-12 11:27:51 -04:00
2011-10-12 11:27:51 -04:00
2011-10-12 11:27:51 -04:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2011-10-12 11:27:51 -04:00
2011-10-12 11:27:51 -04:00
2011-10-12 11:27:51 -04:00
2011-10-12 11:27:51 -04:00
2011-10-12 11:27:51 -04:00
2012-05-06 18:23:44 +00:00
2011-10-15 20:22:59 -04:00
2011-10-15 20:22:59 -04:00
2012-08-02 21:04:29 +02:00
2011-10-12 11:27:51 -04:00
2011-10-12 11:27:51 -04:00
2011-10-12 11:27:51 -04:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2012-04-18 00:40:13 +02:00
2012-04-18 00:40:13 +02:00
2012-04-18 00:40:13 +02:00
2012-08-02 21:04:29 +02:00
2012-08-02 21:04:29 +02:00
2012-08-02 21:04:29 +02:00
2012-08-02 21:04:29 +02:00
2012-08-02 21:04:29 +02:00
2012-08-02 21:04:29 +02:00
2012-08-02 21:04:29 +02:00
2012-08-02 21:04:29 +02:00
2012-08-02 21:04:29 +02:00
2013-11-16 12:45:11 +00:00
2013-11-16 12:45:11 +00:00
2013-11-16 12:45:11 +00:00
2011-10-12 11:27:51 -04:00
2011-10-12 11:27:51 -04:00
2011-10-12 11:27:51 -04:00
2012-08-02 21:04:29 +02:00
2012-08-02 21:04:29 +02:00
2012-08-02 21:04:29 +02:00
2013-11-29 16:31:16 +00:00
2011-10-12 11:27:51 -04:00
2011-10-12 11:27:51 -04:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-02-14 13:12:02 +00:00
2013-01-02 19:05:09 +00:00
2013-11-28 16:50:38 +00:00
2013-01-02 19:05:09 +00:00
2013-06-12 10:36:48 +05:30
2013-02-14 13:12:02 +00:00
2013-01-02 19:05:09 +00:00
2013-02-14 13:12:02 +00:00
2013-01-02 19:05:09 +00:00
2013-08-21 19:48:48 +02:00
2013-02-14 13:12:02 +00:00
2013-01-02 19:05:09 +00:00
2012-06-06 10:13:19 -07:00
2013-12-18 11:38:27 +00:00
2012-03-19 06:51:39 -07:00
2013-04-03 14:13:44 +02:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2012-05-07 19:13:08 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-02-21 22:21:52 +00:00
2013-02-21 22:21:52 +00:00
2013-02-21 22:21:52 +00:00
2012-03-09 16:09:10 -08:00
2012-03-09 16:09:10 -08:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2012-02-07 00:41:11 +01:00
2012-02-07 00:41:11 +01:00
2012-02-07 00:41:11 +01:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2012-03-09 16:09:10 -08:00
2012-05-01 15:37:43 +00:00
2012-05-01 15:37:43 +00:00
2013-02-21 22:21:52 +00:00
2013-02-21 22:21:52 +00:00
2013-02-21 22:21:52 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-01-02 19:05:09 +00:00
2013-11-29 16:31:16 +00:00