aboutsummaryrefslogtreecommitdiff
path: root/src/complex/csinhl.c
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 /src/complex/csinhl.c
parentmath: fix acoshf for negative inputs (diff)
downloadgrovel-964104f9f0e056cf58d9defa0b716d7756f040f6.tar.gz
grovel-964104f9f0e056cf58d9defa0b716d7756f040f6.tar.xz
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 'src/complex/csinhl.c')
0 files changed, 0 insertions, 0 deletions