commit | 964104f9f0e056cf58d9defa0b716d7756f040f6 | [log] [tgz] |
---|---|---|
author | Szabolcs Nagy <nsz@port70.net> | Fri Feb 05 19:51:36 2021 +0000 |
committer | Rich Felker <dalias@aerifal.cx> | Wed Feb 10 14:06:50 2021 -0500 |
tree | 6d71a99a105627e40fd9c2a1acfa161fa9a9e39f | |
parent | c4c38e6364323b6d83ba3428464e19987b981d7a [diff] |
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.