-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(osmomath): replace Power with PowerInteger #3712
Conversation
This LGTM, but it should be state compatible and backportable? |
Agreed. Sorry I confused it with this Line 57 in d69dd69
|
Labels are now changed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* refactor(osmomath): replace Power with PowerInteger * changelog * changelog 2 (cherry picked from commit 5df8cd0) # Conflicts: # CHANGELOG.md
…3727) * refactor(osmomath): replace Power with PowerInteger (backport #3712) * Update CHANGELOG.md Co-authored-by: Roman <[email protected]>
Progress towards: #3540
What is the purpose of the change
I missed the existence of
Power
when addingPowerInteger
. As a result, these functions are identical.I propose removing the old
Power
and replace all calls withPowerInteger
since I am adding a newPower
function that takes a decimal exponent.Note:
Power
is identical withPowerInteger
PowerInteger
tests include and cover all removed test cases.