Bug in function powu(x,y) #54
Closed
themastermindnktp
started this conversation in
General
Replies: 1 comment
-
This is worth of becoming an issue. I locked this discussion and created an issue: where we can continue the conversation: #55. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In contract
PRBMathSD59x18
, on line 624, you have already modified variabley
but later on line 639, you check whethery
is odd or even. At that point,y
is always 0, so the result of the functionpowu(x, y)
is always positive even ifx
is negative andy
is odd.Beta Was this translation helpful? Give feedback.
All reactions