Bernd Edlinger
648615e13f
Avoid signed shift overflow in pow (bug 21309).
...
As noted in bug 21309, dbl-64/e_pow.c contains signed int shifts that,
although the shift count is in the range [0, 31], shift bits into and
beyond the sign bit and so are undefined in ISO C. Although this is
defined in GNU C, this patch from the bug cleans up the code to avoid
those shifts.
Tested for x86_64.
[BZ #21309 ]
* sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
unsigned.
2017-12-19 18:41:01 +00:00
..
2017-10-04 10:13:56 +01:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-08-03 19:55:04 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-08-03 19:55:04 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-12-19 18:11:37 +00:00
2017-08-03 19:55:04 +00:00
2017-08-03 19:55:04 +00:00
2017-08-03 19:55:04 +00:00
2013-10-17 16:03:24 +02:00
2017-02-15 10:30:59 -02:00
2017-02-15 10:30:59 -02:00
2017-10-04 10:15:12 +01:00
2017-09-29 18:54:24 +01:00
2017-09-29 18:54:24 +01:00
2017-09-29 18:54:24 +01:00
2017-01-01 00:14:16 +00:00
2017-12-19 18:41:01 +00:00
2017-08-03 19:55:04 +00:00
2017-01-01 00:14:16 +00:00
2017-08-03 19:55:04 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-03-01 20:33:46 -05:00
2012-02-26 16:10:46 +01:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-08-24 15:56:11 +01:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-09-29 23:54:33 +00:00
2017-10-02 23:16:56 +00:00
2017-09-29 23:54:33 +00:00
2017-10-03 17:47:35 +00:00
2017-09-29 23:54:33 +00:00
2017-09-29 23:54:33 +00:00
2017-09-29 23:54:33 +00:00
2017-09-29 23:54:33 +00:00
2017-08-03 19:55:04 +00:00
2017-10-03 17:47:35 +00:00
2017-10-04 20:32:48 +00:00
2017-10-03 21:01:33 +00:00
2017-08-03 19:55:04 +00:00
2017-10-03 20:56:46 +00:00
2017-09-29 23:54:33 +00:00
2017-09-29 23:54:33 +00:00
2017-09-29 23:54:33 +00:00
2017-09-29 23:54:33 +00:00
2015-12-03 13:00:46 -05:00
2017-08-03 19:55:04 +00:00
2017-08-03 19:55:04 +00:00
2017-09-29 23:54:33 +00:00
2017-10-03 17:47:35 +00:00
2015-09-23 22:42:30 +00:00
2017-10-03 23:44:41 +00:00
2017-09-29 23:54:33 +00:00
2017-10-03 17:47:35 +00:00
2017-10-03 23:46:23 +00:00
2017-10-03 17:47:35 +00:00
2017-09-29 23:54:33 +00:00
2017-10-03 17:47:35 +00:00
2017-10-03 17:47:35 +00:00
2017-10-03 17:47:35 +00:00
2017-09-29 23:54:33 +00:00
2014-06-20 07:48:20 +05:30
2015-09-16 21:11:00 +00:00
2017-09-29 23:54:33 +00:00
2017-09-29 23:54:33 +00:00
2017-09-29 23:54:33 +00:00
2017-01-01 00:14:16 +00:00
2017-09-29 23:54:33 +00:00
2017-09-29 23:54:33 +00:00
2017-10-02 23:16:56 +00:00
2017-09-29 23:54:33 +00:00
2017-09-29 23:54:33 +00:00
2017-09-29 23:54:33 +00:00
2017-10-03 17:47:35 +00:00
2017-09-29 23:54:33 +00:00
2017-09-29 23:54:33 +00:00
2017-01-01 00:14:16 +00:00
2017-09-25 15:56:22 +02:00
2017-01-01 00:14:16 +00:00
2017-12-19 18:11:37 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00
2017-01-01 00:14:16 +00:00