You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a generic implementation of pow over type T to avoid unnecessary code duplication. This will allow using all integer types in exponentiation operations.
This can not be performed natively for wrapping_pow as we can't use generics with libfuncs such as u256_overflow_mul. That would require adding a WrappingMath trait, but it's not a priority for now Describe the Feature Request
Describe Preferred Solution
Related Code
Additional Context
If the feature request is approved, would you be willing to submit a PR? (Help can be provided if you need assistance submitting a PR)
Yes
No
The text was updated successfully, but these errors were encountered:
Important update: we are gathering some bugs in the Kakarot v0 codebase, we need to make sure each issue and each PR in Kakarot-ssj is aware of the lists of known bugs. Look at this tracking issue everytime you take an issue and check your issue isn't targeted by a known bug. Will add this reminder in many places to make sure we keep track of known bugs.
Feature Request
Create a generic implementation of
pow
over typeT
to avoid unnecessary code duplication. This will allow using all integer types in exponentiation operations.This can not be performed natively for
wrapping_pow
as we can't use generics with libfuncs such asu256_overflow_mul
. That would require adding aWrappingMath
trait, but it's not a priority for nowDescribe the Feature Request
Describe Preferred Solution
Related Code
Additional Context
If the feature request is approved, would you be willing to submit a PR?
(Help can be provided if you need assistance submitting a PR)
The text was updated successfully, but these errors were encountered: