mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-11-01 16:31:11 +00:00
Fix __ulongrem stdlib edge case (#531)
The implementation is off-by-one. --------- Signed-off-by: xermicus <cyrill@parity.io>
This commit is contained in:
1 parent
c67b95805c
commit
ae8033130b
5 files changed
+107
-4
No files matched your search
@@ -353,6 +353,13 @@ sol!(
|
||||
);
|
||||
case!("Bitwise.sol", Bitwise, opByteCall, bitwise_byte, index: U256, value: U256);
|
||||
|
||||
sol!(
|
||||
contract UlongRem {
|
||||
function bigMulMod(uint a, uint b, uint m) external pure returns (uint);
|
||||
}
|
||||
);
|
||||
case!("UlongRem.sol", UlongRem, bigMulModCall, ulongrem_big_mulmod, a: U256, b: U256, m: U256);
|
||||
|
||||
sol!(
|
||||
contract Storage {
|
||||
function transient(uint value) public returns (uint ret);
|
||||
|
||||
Reference in new issue
Block a user