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
@mantepse Can this be happening because gamma(-1) is infinity? To solve this can we just put a condition there that is: if a<0 and b>(-a) only then for gamma to return?
I am a new contributor, so I apologise if it sounds stupid
Steps To Reproduce
Expected Behavior
The result should be
rising_factorial(-1, b)
, which is0
only ifb > 1
.Actual Behavior
The result is 0.
Additional Information
#19461
Environment
not relevant
Checklist
The text was updated successfully, but these errors were encountered: