Since Solidity v0.6.8, the neatest way to get hold of max uint256 in Solidity is this:
uint256 foo = type(uint256).max;
Is there something like that for Yul? I couldn't find anything in the docs.
I know about not(0)
but I don't like it much.
Since Solidity v0.6.8, the neatest way to get hold of max uint256 in Solidity is this:
uint256 foo = type(uint256).max;
Is there something like that for Yul? I couldn't find anything in the docs.
I know about not(0)
but I don't like it much.