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
Yes, thank you for reporting this. I think we should probably catch this, but in general, we won't be able to turn all calculations that potentially return inf into runtime errors. Numbat is a numerical calculator and can not analytically determine in all cases if a calculations will result in inf/NaN.
sharkdp
changed the title
wrong answer for 0^-1
Detect 0 raised to negative exponents
Feb 16, 2025
For
0^-1
, numbat gives inf as a result. However,0^-1
should be equally undefined just as1/0
.The text was updated successfully, but these errors were encountered: