We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
for the
function div256_128By256(uint a21, uint a0, uint b) public pure returns (uint q, uint r)
If we we b=2^128, a0=0, a21=2^128
then the output is: q= 2^129 . I think the output should be 2^128
The text was updated successfully, but these errors were encountered:
Yeah, output should be 2^128, this library is broken 😱
Edit: Also should note that I didn't actually confirm this, but for the time being I'm taking on good faith that this report is accurate right now.
Sorry, something went wrong.
No branches or pull requests
for the
function div256_128By256(uint a21, uint a0, uint b) public pure returns (uint q, uint r)
If we we b=2^128, a0=0, a21=2^128
then the output is: q= 2^129 . I think the output should be 2^128
The text was updated successfully, but these errors were encountered: