Joseph Myers
119d073e33
Fix ldbl-128 lrintl, lroundl missing exceptions for 32-bit long (bug 19085).
...
The ldbl-128 implementations of lrintl and lroundl miss "invalid"
exceptions on systems with 32-bit long for arguments that overflow
long but have exponent below 48. This patch fixes this by rearranging
the sequence of tests in the code so the exponent < 48 case is only
used for exponents that don't overflow long.
Tested for mips64 (n32 and n64).
[BZ #19085 ]
* sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
exponent below 48 inside case for non-overflowing exponent.
* sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
2015-10-07 16:10:59 +00:00
..
2015-02-26 21:06:34 +00:00
2015-09-23 22:42:30 +00:00
2015-09-23 22:42:30 +00:00
2014-06-23 20:20:10 +00:00
2015-06-03 15:41:36 +01:00
2015-09-23 22:42:30 +00:00
2015-09-23 22:42:30 +00:00
2015-09-24 23:43:57 +00:00
2015-06-03 15:41:36 +01:00
2015-09-23 22:42:30 +00:00
2015-09-23 22:42:30 +00:00
2015-10-01 17:15:54 +00:00
2014-06-10 12:07:15 +00:00
2014-05-23 12:07:50 +00:00
2014-03-21 18:13:58 +00:00
2015-09-25 22:29:10 +00:00
2015-01-02 16:29:47 +00: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
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-09-23 22:42:30 +00:00
2015-01-02 16:29:47 +00:00
2015-09-10 22:27:58 +00:00
2015-09-10 22:27:58 +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-06-03 15:41:36 +01:00
2015-09-23 22:42:30 +00:00
2015-09-23 22:42:30 +00:00
2015-09-17 16:47:14 +00:00
2015-01-02 16:29:47 +00: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
2015-09-23 18:14:57 +00:00
2015-01-02 16:29:47 +00:00
2015-09-23 22:42:30 +00:00
2015-10-07 16:10:59 +00:00
2015-10-07 16:10:59 +00:00
2013-05-19 18:40:25 +00:00
2014-03-11 22:24:00 +00:00
2015-10-02 17:11:13 +00:00
2015-10-02 17:11:13 +00:00
2015-02-17 00:41:50 +00:00
2012-11-20 14:26:07 +00:00
2015-04-28 17:27:02 +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-18 20:51:52 +01:00
2015-09-23 22:42:30 +00:00
2013-06-05 20:44:03 +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