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 test for the bug in hint uint256_mul_div_mod #1324

Closed
pefontana opened this issue Jul 10, 2023 · 0 comments · Fixed by #1328
Closed

Add test for the bug in hint uint256_mul_div_mod #1324

pefontana opened this issue Jul 10, 2023 · 0 comments · Fixed by #1328
Assignees

Comments

@pefontana
Copy link
Member

Add a test for the bug fixed in the PR#320

Tip:
You can call uint256_mul_div_mod{range_check_ptr}(a: Uint256, b: Uint256, div: Uint256) with:

a.low = 340281070833283907490476236129005105807
a.high = 340282366920938463463374607431768211455
b.low = 2447157533618445569039502
b.high = 0
div.low = 0
div.high = 1
@pefontana pefontana self-assigned this Jul 11, 2023
@pefontana pefontana linked a pull request Jul 12, 2023 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant