diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2024-05-22 16:33:43 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2024-06-04 15:33:26 +0100 |
commit | 2a9943b4a03b6bce7c2b1b047592eee38ab74fab (patch) | |
tree | f53f7330dc2d41137d126bf1f15f8f2a6fc68e77 /nptl/tst-rwlock19.c | |
parent | d0106b6ae26c8cc046269358a77188105c99d5e3 (diff) | |
download | glibc-2a9943b4a03b6bce7c2b1b047592eee38ab74fab.tar.gz glibc-2a9943b4a03b6bce7c2b1b047592eee38ab74fab.tar.xz glibc-2a9943b4a03b6bce7c2b1b047592eee38ab74fab.zip |
math: Fix exp10 undefined left shift
Left shift of ki is undefined when ki<0, copy the logic from exp, which uses unsigned arithmetics, to fix it. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/tst-rwlock19.c')
0 files changed, 0 insertions, 0 deletions