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

Rename float32 round_half_to_even to round_current #2913

Merged
merged 1 commit into from
Aug 10, 2024
Merged

Conversation

TheNumbat
Copy link
Contributor

Float32 will soon be supported in javascript and wasm, where the default rounding mode is not half-to-even.
This PR renames the round_half_to_even functions to round_current, because they actually round using the current mode.
The comments have been updated as well.

@TheNumbat TheNumbat requested a review from ccasin August 9, 2024 20:01
Copy link
Contributor

@ccasin ccasin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TheNumbat TheNumbat merged commit 60f5cc0 into main Aug 10, 2024
17 checks passed
@TheNumbat TheNumbat deleted the f32-half-to-even branch August 10, 2024 21:00
ITO444 pushed a commit to ITO444/flambda-backend that referenced this pull request Aug 13, 2024
lukemaurer pushed a commit to lukemaurer/flambda-backend that referenced this pull request Oct 23, 2024
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.

2 participants