Skip to content

Rename float32 round_half_to_even to round_current#2913

Merged
TheNumbat merged 1 commit intomainfrom
f32-half-to-even
Aug 10, 2024
Merged

Rename float32 round_half_to_even to round_current#2913
TheNumbat merged 1 commit intomainfrom
f32-half-to-even

Conversation

@TheNumbat
Copy link
Copy Markdown
Member

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
Copy Markdown
Collaborator

@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
@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