Skip to content

Conversation

@quaternic
Copy link
Contributor

@quaternic quaternic commented Dec 8, 2025

Due to an erroneous overflow threshold, expm1f was incorrectly returning inf for inputs in the range [88.72169, 88.72283]. This additionally caused sinhf to return NaN for inputs in that range.

The bug was ported from the original in musl, which has since been fixed in
https://git.musl-libc.org/cgit/musl/commit/?id=964104f9f0e056cf58d9defa0b716d7756f040f6

@quaternic quaternic changed the title fix exm1f overflow threshold fix expm1f overflow threshold Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant