about summary refs log tree commit diff
path: root/arch/arm/atomic_arch.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2019-10-13 14:54:31 +0000
committerRich Felker <dalias@aerifal.cx>2019-10-13 17:46:58 -0400
commite858063070eedb7fe78c37eba5177d8c5cfccfa6 (patch)
tree096107b70bf29ed69cdb761894a91c230b885fa7 /arch/arm/atomic_arch.h
parent716745e00e304a650a8eef57c15fbd326168096e (diff)
downloadmusl-e858063070eedb7fe78c37eba5177d8c5cfccfa6.tar.gz
musl-e858063070eedb7fe78c37eba5177d8c5cfccfa6.tar.xz
musl-e858063070eedb7fe78c37eba5177d8c5cfccfa6.zip
math: fix signed int left shift ub in sqrt
Both sqrt and sqrtf shifted the signed exponent as signed int to adjust
the bit representation of the result. There are signed right shifts too
in the code but those are implementation defined and are expected to
compile to arithmetic shift on supported compilers and targets.
Diffstat (limited to 'arch/arm/atomic_arch.h')
0 files changed, 0 insertions, 0 deletions