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

Missing arithmetic support #19

Open
24 of 40 tasks
Sword-Smith opened this issue Mar 17, 2023 · 2 comments
Open
24 of 40 tasks

Missing arithmetic support #19

Sword-Smith opened this issue Mar 17, 2023 · 2 comments
Assignees

Comments

@Sword-Smith
Copy link
Contributor

Sword-Smith commented Mar 17, 2023

  • Mul
    • u32
    • u64
    • u128
    • BFE
    • XFE
  • Div
    • u32
    • u64
    • u128
    • BFE
    • XFE
  • Rem
    • u32
    • u64
    • u128
    • BFE
    • XFE
  • Add
    • u128
  • Sub
    • u128
  • Eq
    • u128
  • Lt
    • u128
  • Shl
    • u128
  • Shr
    • u128
  • .count_ones() in terms of popcount
    • u32
    • u64
    • u128
  • Or (binary)
    • u128
  • And (binary)
    • u128
  • Xor (binary)
    • u128

Edit: Remainders for finite field elements are not mathematically defined. So they should not be implemented. The type checker should catch that.

@einar-triton
Copy link
Contributor

I will look at Rem.

@Sword-Smith
Copy link
Contributor Author

I will look at Mul first

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

2 participants