Extract common loop.

This commit is contained in:
chriseth
2020-09-23 16:14:24 +02:00
parent 55e6a92692
commit e696c4eafd
2 changed files with 37 additions and 18 deletions
+4
View File
@@ -140,6 +140,10 @@ public:
/// signature: (base, exponent, min, max) -> power
std::string overflowCheckedSignedExpFunction();
/// Helper function for the two checked exponentiation functions.
/// signature: (power, base, exponent, max) -> power
std::string overflowCheckedExpLoopFunction();
/// @returns the name of a function that fetches the length of the given
/// array
/// signature: (array) -> length