]> git.ipfire.org Git - thirdparty/glibc.git/commit
math: Fix UB in ldbl-128 roundl
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 5 May 2025 13:45:15 +0000 (10:45 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 8 May 2025 12:25:49 +0000 (09:25 -0300)
commitc1ffff3c531404a8d64fc12c8df11a68ebd56d13
treee004669c48c1aef761872f94fd201e620fdff339
parent9dc7be063e408454f01fd898732656347546c497
math: Fix UB in ldbl-128 roundl

$ math/test-float128-cospi
testing _Float128 (without inline functions)
UBSAN: Undefined behaviour in ../sysdeps/ieee754/float128/../ldbl-128/s_roundl.c:75:30 left shift of 1 by 63 cannot be represented in type 'long long int'
sysdeps/ieee754/ldbl-128/s_roundl.c