mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
implemented type(X).min and type(X).max for all integer types
This commit is contained in:
@@ -452,6 +452,9 @@ public:
|
||||
unsigned numBits() const { return m_bits; }
|
||||
bool isSigned() const { return m_modifier == Modifier::Signed; }
|
||||
|
||||
u256 min() const;
|
||||
u256 max() const;
|
||||
|
||||
bigint minValue() const;
|
||||
bigint maxValue() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user