mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Overflow-checked addition.
This commit is contained in:
committed by
Mathias Baumann
parent
826f2d9084
commit
18ab8aeb85
@@ -73,6 +73,8 @@ public:
|
||||
/// of 32 or the input if it is a multiple of 32.
|
||||
std::string roundUpFunction();
|
||||
|
||||
std::string overflowCheckedUIntAddFunction(size_t _bits);
|
||||
|
||||
std::string arrayLengthFunction(ArrayType const& _type);
|
||||
/// @returns the name of a function that computes the number of bytes required
|
||||
/// to store an array in memory given its length (internally encoded, not ABI encoded).
|
||||
|
||||
Reference in New Issue
Block a user