Specialized checked exponentation when exponent is a literal #10443
Comments
|
Don't we have a rulelist entry for this in libevmasm? |
|
What I mean is the following. A code of the form
Currently, the above code will undergo checked exponentiation by squaring. We can have some rule list entries for special cases (such as |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We already have a specialized checked exponentiation when the base is a literal and exponent can only be known at compile time.
Implement the case where exponent is a literal and base is only known at compile time. Vyper already has this: vyperlang/vyper#2072
The text was updated successfully, but these errors were encountered: