summaryrefslogtreecommitdiff
path: root/arch/riscv64/bits/user.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2021-02-05 19:51:36 +0000
committerRich Felker <dalias@aerifal.cx>2021-02-10 14:06:50 -0500
commit964104f9f0e056cf58d9defa0b716d7756f040f6 (patch)
tree6d71a99a105627e40fd9c2a1acfa161fa9a9e39f /arch/riscv64/bits/user.h
parentc4c38e6364323b6d83ba3428464e19987b981d7a (diff)
downloadmusl-964104f9f0e056cf58d9defa0b716d7756f040f6.tar.gz
math: fix expm1f overflow threshold
the threshold was wrong so expm1f overflowed to inf a bit too early and on most targets uint32_t compare is faster than float compare so use that. this also fixes sinhf incorrectly returning nan for some values where the internal expm1f overflowed.
Diffstat (limited to 'arch/riscv64/bits/user.h')
0 files changed, 0 insertions, 0 deletions