Created
December 30, 2019 04:03
-
-
Save Enigmatic331/c9d1602cb0fd70e90fedc4f6630210f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.6.0; | |
contract shortContract2 { | |
int256 constant public INT256_MIN = int256(uint256(1) << 255); | |
int256 constant public INT256_MAX = int256(~(uint256(1) << 255)); | |
uint256 constant public UINT256_MIN = 0; | |
uint256 constant public UINT256_MAX = ~uint256(0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment