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

Add the base2.fixed.* exact operations #2

Open
1 of 8 tasks
KFAFSP opened this issue Jan 24, 2023 · 0 comments
Open
1 of 8 tasks

Add the base2.fixed.* exact operations #2

KFAFSP opened this issue Jan 24, 2023 · 0 comments

Comments

@KFAFSP
Copy link
Owner

KFAFSP commented Jan 24, 2023

For all operations permissible on fixed-point types, including those exclusive to them (e.g., rescale), an exact operation should exist. These infer their result types from the operand types.

  • base2.fixed.rescale
  • base2.fixed.align
  • base2.fixed.cmp ??? only if there is a more efficient algorithm then align + cmp
  • base2.fixed.add
  • base2.fixed.sub
  • base2.fixed.mul
  • base2.fixed.div
  • base2.fixed.mod ??? underspecified

Check FixedPointInterpreter for more details.

@KFAFSP KFAFSP changed the title Add the bsae2.fixed.* exact operations Add the base2.fixed.* exact operations Jan 24, 2023
@KFAFSP KFAFSP mentioned this issue Mar 2, 2023
5 tasks
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