Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(eval): use our own frexp to implement std.exponent and std.mantissa #20

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

eduardosm
Copy link
Owner

Some implementations of f64::log2 are too inaccurate for this purpose. The new frexp implementation operates on the bit representation of the floating point numbers, so it is less subject to platform-dependent floating point weirdness.

…antissa`

Some implementations of `f64::log2` are too inaccurate for this purpose. The new `frexp` implementation operates on the bit representation of the floating point numbers, so it is less subject to platform-dependent floating point weirdness.
@eduardosm eduardosm merged commit 28cfcb1 into main Apr 16, 2024
18 checks passed
@eduardosm eduardosm deleted the frexp branch April 16, 2024 16:14
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