mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Implement signed subtraction for sol->yul code generation.
This commit is contained in:
committed by
chriseth
parent
88988af561
commit
5f6af8b374
@@ -106,7 +106,7 @@ public:
|
||||
/// @returns computes the difference between two values.
|
||||
/// Assumes the input to be in range for the type.
|
||||
/// signature: (x, y) -> diff
|
||||
std::string overflowCheckedUIntSubFunction();
|
||||
std::string overflowCheckedIntSubFunction(IntegerType const& _type);
|
||||
|
||||
/// @returns the name of a function that fetches the length of the given
|
||||
/// array
|
||||
|
||||
Reference in New Issue
Block a user