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

Map official IEEE 754 rounding mode names to Intl/Temporal names #138

Conversation

jessealama
Copy link
Collaborator

No description provided.

jessealama and others added 2 commits May 17, 2024 15:37
Also, add a note for implementors mapping the rounding mode
names, which are taken from Intl.NumberFormat, to the
official IEEE 754 names.

Refer to the default rounding mode by reference rather than
directly naming it.
@jessealama jessealama linked an issue May 17, 2024 that may be closed by this pull request
@jessealama
Copy link
Collaborator Author

Relates to #122 , specifically this comment in the section "Rounding Modes and Implementability".

</tr>
<tr>
<td>*"halfExpand"*</td>
<td>Ties away from zero</td>
Copy link
Member

Choose a reason for hiding this comment

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

I think this would be clearer as "Towards the closest value, and ties away for zero" (and similar for halfEven), but given that it's just copied from ECMA-402 it's probably ok to have this shorter version.

@jessealama jessealama merged commit 0acd5e4 into main May 17, 2024
@jessealama jessealama deleted the 122-map-official-ieee-rounding-mode-names-to-intl-temporal-names branch May 17, 2024 13:57
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.

Details of specifying Decimal numbers and algorithms
2 participants