]> git.ipfire.org Git - thirdparty/glibc.git/commit
math: Remove UB from float128 ilogbf
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 21 Apr 2025 17:43:49 +0000 (14:43 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 7 May 2025 17:21:21 +0000 (14:21 -0300)
commitb26c1af4bdf3f531bc1a57b3cc3695c603fd3be0
tree0a8cec09862cfd392d41a47aefbf6ad99bb2f387
parent31bc3437c925d39e456d33494c79f76bc03bba25
math: Remove UB from float128 ilogbf

The subnormal exponent calculation invokes UB by left shifting the
high or lower work.  Use unsigned values and stdc_leading_zeros
instead.
sysdeps/ieee754/ldbl-128/e_ilogbl.c