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

Rounding modes for floating point values differ. #6930

Open
sigilante opened this issue Mar 5, 2024 · 0 comments
Open

Rounding modes for floating point values differ. #6930

sigilante opened this issue Mar 5, 2024 · 0 comments
Assignees

Comments

@sigilante
Copy link
Contributor

  • ++ff supports 5 rounding modes, default %a.
  • ++fl supports 5 rounding modes, default %n.
  • ++rh, ++rs, ++rd, ++rq support 4 rounding modes, default %z.
  • SoftFloat supports 5 to 6 rounding modes, default softfloat_round_near_even.

Unless there is load-bearing machinery based on these defaults, we should clean these up. This includes changing the default to everywhere be the same and introducing all five rounding modes into all cores.

@sigilante sigilante self-assigned this Mar 5, 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

No branches or pull requests

1 participant