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

Comptime evaluation of to_be_bits and to_le_bits #6991

Closed
benesjan opened this issue Jan 8, 2025 · 0 comments · Fixed by #7008
Closed

Comptime evaluation of to_be_bits and to_le_bits #6991

benesjan opened this issue Jan 8, 2025 · 0 comments · Fixed by #7008
Assignees
Labels
enhancement New feature or request

Comments

@benesjan
Copy link
Contributor

benesjan commented Jan 8, 2025

Problem

I tried computing 2^64 with:
pub global POW64: Field = 2.pow_32(64); and as pub global POW64: Field = (U128::one() << 64).to_integer();

and both fail as the to_be_bits and to_le_bits currently don't have comptime support.

Happy Case

...

Workaround

None

Workaround Description

No response

Additional Context

No response

Project Impact

None

Blocker Context

No response

Would you like to submit a PR for this Issue?

None

Support Needs

No response

@benesjan benesjan added the enhancement New feature or request label Jan 8, 2025
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Jan 8, 2025
@aakoshh aakoshh closed this as completed Jan 13, 2025
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Noir Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants