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

Feat/uint256 div mod #180

Merged
merged 7 commits into from
Dec 11, 2023
Merged

Feat/uint256 div mod #180

merged 7 commits into from
Dec 11, 2023

Conversation

Tomi-3-0
Copy link
Contributor

@Tomi-3-0 Tomi-3-0 commented Dec 6, 2023

Uint256DivMod Implementation:

  • Divides dividend (represented by 2 128bit limbs) by divisor (represented by 2 128bit limbs). Returns the quotient (represented by 2 128bit limbs) and the remainder (represented by 2 128bit limbs)

  • Tied to Feat: Implement Uint256DivMod Hint #46

  • Values for test gotten from here

@Tomi-3-0 Tomi-3-0 requested review from cicr99 and mmk-1 December 6, 2023 07:18
pkg/hintrunner/hint_test.go Outdated Show resolved Hide resolved
pkg/hintrunner/hint_bechmark_test.go Show resolved Hide resolved
@cicr99
Copy link
Contributor

cicr99 commented Dec 7, 2023

Also, there are conflicting files that need to be fixed.

Apart from that all the logic seems to be ok

@Tomi-3-0 Tomi-3-0 requested a review from cicr99 December 8, 2023 07:46
@cicr99 cicr99 merged commit 06dca18 into main Dec 11, 2023
4 checks passed
@cicr99 cicr99 deleted the feat/Uint256DivMod branch December 11, 2023 13:38
@cicr99 cicr99 mentioned this pull request Dec 12, 2023
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

Successfully merging this pull request may close these issues.

2 participants