Joseph Myers
c643db8792
Fix j1, jn missing errno setting on underflow (bug 18611).
...
j1 and jn can underflow for small arguments, but fail to set errno
when underflowing to 0. This patch fixes them to set errno in that
case.
Tested for x86_64, x86, mips64 and powerpc.
[BZ #18611 ]
* sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
avoid excess range and precision on underflow.
* sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
* sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
* sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
* sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
underflow.
* sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
* sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
* sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
* sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
* math/auto-libm-test-in: Do not allow missing errno setting for
tests of j1 and jn.
* math/auto-libm-test-out: Regenerated.
2015-10-23 21:37:33 +00:00
..
2015-10-07 23:45:29 +00:00
2015-01-02 16:29:47 +00:00
2015-09-18 20:42:54 +01:00
2015-01-02 16:29:47 +00:00
2015-05-15 11:04:40 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-05-15 11:04:40 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2013-10-17 16:03:24 +02:00
2015-09-23 22:42:30 +00:00
2015-04-08 17:32:17 +00:00
2015-09-23 22:42:30 +00:00
2015-09-18 20:00:48 +00:00
2015-09-23 22:42:30 +00:00
2015-06-03 15:41:36 +01:00
2015-09-23 22:42:30 +00:00
2014-02-10 15:07:12 +01:00
2015-09-23 22:42:30 +00:00
2015-09-24 23:43:57 +00:00
2013-10-17 16:03:24 +02:00
2015-02-26 21:49:19 +00:00
2015-10-23 21:37:33 +00:00
2015-10-23 21:37:33 +00:00
2015-09-18 20:00:48 +00:00
2015-10-05 17:46:50 +00:00
2015-10-05 17:46:50 +00:00
2015-05-15 11:04:40 +00:00
2015-09-25 22:29:10 +00:00
2013-10-17 16:03:24 +02:00
2015-05-15 11:04:40 +00:00
2015-09-23 22:42:30 +00:00
2015-01-02 20:44:42 +00:00
2015-01-02 16:29:47 +00:00
2015-09-23 18:14:57 +00:00
2015-01-02 16:29:47 +00:00
2015-09-23 18:14:57 +00:00
2012-02-26 16:10:46 +01:00
2015-09-23 18:14:57 +00:00
2015-09-10 22:27:58 +00:00
2015-03-10 09:38:54 -04:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-05-21 23:05:45 +00:00
2015-05-15 11:04:40 +00:00
2015-01-02 16:29:47 +00:00
2015-05-15 11:04:40 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-05-15 11:04:40 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-09-23 22:42:30 +00:00
2015-09-23 22:42:30 +00:00
2015-01-02 16:29:47 +00:00
2013-10-17 16:03:24 +02:00
2013-10-17 16:03:24 +02:00
2015-10-05 17:46:50 +00:00
2015-09-23 22:42:30 +00:00
2015-05-28 11:42:55 +01:00
2015-09-17 16:47:14 +00:00
2013-10-17 16:03:24 +02:00
2015-09-23 22:42:30 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2013-10-17 16:03:24 +02:00
2013-10-17 16:03:24 +02:00
2013-10-17 16:03:24 +02:00
2015-01-02 16:29:47 +00:00
2015-10-09 21:02:19 +00:00
2015-10-09 21:02:19 +00:00
2015-09-23 22:42:30 +00:00
2015-10-05 17:46:50 +00:00
2015-10-09 21:02:19 +00:00
2015-10-09 21:02:19 +00:00
2014-02-10 15:07:12 +01:00
2013-10-17 16:03:24 +02:00
2015-02-17 00:41:50 +00:00
2013-10-17 16:03:24 +02:00
2015-01-02 16:29:47 +00:00
2014-06-20 07:48:20 +05:30
2015-09-16 21:11:00 +00:00
2015-09-18 16:39:08 +01:00
2015-09-23 22:42:30 +00:00
2015-09-18 20:51:52 +01:00
2015-09-23 22:42:30 +00:00
2015-09-23 22:42:30 +00:00
2015-01-02 16:29:47 +00:00
2015-05-15 11:04:40 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-09-18 20:42:54 +01:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-09-18 20:42:54 +01:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-01-02 16:29:47 +00:00
2015-06-03 15:41:36 +01:00
2015-09-28 22:11:22 +00:00
2015-09-28 22:11:22 +00:00