Subtraction for unsigned integers.

This commit is contained in:
chriseth
2019-05-09 17:57:30 +02:00
parent 5e5138869b
commit 45ee3fc007
3 changed files with 30 additions and 8 deletions
+4
View File
@@ -86,6 +86,10 @@ public:
std::string overflowCheckedUIntAddFunction(size_t _bits);
/// @returns computes the difference between two values.
/// Assumes the input to be in range for the type.
std::string overflowCheckedUIntSubFunction();
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).