diff options
author | Szabolcs Nagy <nsz@port70.net> | 2021-02-05 19:51:36 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2021-02-10 14:06:50 -0500 |
commit | 964104f9f0e056cf58d9defa0b716d7756f040f6 (patch) | |
tree | 6d71a99a105627e40fd9c2a1acfa161fa9a9e39f /compat/time32/difftime32.c | |
parent | c4c38e6364323b6d83ba3428464e19987b981d7a (diff) | |
download | musl-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 'compat/time32/difftime32.c')
0 files changed, 0 insertions, 0 deletions