glibc/sysdeps/ieee754
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
..
dbl-64 Avoid signed shift overflow in pow (bug 21309). 2017-12-19 18:41:01 +00:00
float128 Add _Float64x function aliases. 2017-11-27 14:16:47 +00:00
flt-32 New generic sincosf 2017-12-16 14:01:37 +05:30
ldbl-64-128 Support strtof64x, wcstof64x aliases. 2017-11-24 22:51:53 +00:00
ldbl-96 Don't make local variables static in ldbl-96 j1l. 2017-12-06 15:19:06 +00:00
ldbl-128 Make some ldbl-128, ldbl-128ibm arrays const. 2017-12-06 13:42:58 +00:00
ldbl-128ibm Make some ldbl-128, ldbl-128ibm arrays const. 2017-12-06 13:42:58 +00:00
ldbl-opt Support _Float64, _Float32x in libm_alias_double. 2017-12-05 17:00:57 +00:00
soft-fp Add sysdeps/ieee754/soft-fp. 2017-12-12 23:35:21 +00:00
ieee754.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
k_standard.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
k_standardf.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
k_standardl.c Prefer new libm function wrappers for !LIBM_SVID_COMPAT. 2017-09-05 23:35:55 +00:00
Makefile Avoid -Wno-write-strings for k_standard.c. 2015-02-26 22:50:54 +00:00
s_lib_version.c Simplify math-svid-compat code. 2017-08-28 15:19:52 +00:00
s_matherr.c Obsolete matherr, _LIB_VERSION, libieee.a. 2017-08-21 17:45:10 +00:00
s_signgam.c Fix lgamma setting signgam for ISO C (bug 15421). 2015-11-20 22:49:59 +00:00