[Sol - Yul] Implement checked multiplication.

This commit is contained in:
Daniel Kirchner
2019-05-20 17:36:53 +02:00
parent e08f521b7e
commit b6f4d4e9bc
4 changed files with 69 additions and 0 deletions
+2
View File
@@ -86,6 +86,8 @@ public:
std::string overflowCheckedUIntAddFunction(size_t _bits);
std::string overflowCheckedUIntMulFunction(size_t _bits);
/// @returns computes the difference between two values.
/// Assumes the input to be in range for the type.
std::string overflowCheckedUIntSubFunction();