Skip to content

Instantly share code, notes, and snippets.

@JoranHonig
Created August 30, 2019 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JoranHonig/de128fcb38718a20ae9406315f56ebcb to your computer and use it in GitHub Desktop.
Save JoranHonig/de128fcb38718a20ae9406315f56ebcb to your computer and use it in GitHub Desktop.
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a >= b ? a : b;
}
function mutated_max(uint256 a, uint256 b) internal pure returns (uint256) {
return a > b ? a : b;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment