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

Experiment with a native u128 type #7294

Open
TomAFrench opened this issue Feb 5, 2025 · 0 comments
Open

Experiment with a native u128 type #7294

TomAFrench opened this issue Feb 5, 2025 · 0 comments
Assignees

Comments

@TomAFrench
Copy link
Member

We currently simulate a u128 type using the U128 struct which causes a significant amount of overhead. We can try to avoid this by adding a new numeric type.

One reason why we don't have this currently is that we cannot safely multiply this type with itself as it may overflow the field modulus. We cannot then implement std::ops::arith::Mul for it.

@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Feb 5, 2025
@TomAFrench TomAFrench self-assigned this Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant