Squaring of zero value returns wrong result
Issue #853
resolved
Try to square an expression that evaluates to zero, in the most simple case (0)^2. The result should be well defined (=0), but SpeedCrunch 0.12 returns NaN.
The original expression where I encountered this error was sqrt(((0*pi/(96e-3))^2)) which results in "undefined argument domain". It would be helpful if NaN would appear there somewhere since this error was kind of misleading. Thanks
Comments (4)
-
repo owner -
Issue
#880was marked as a duplicate of this issue. -
repo owner - changed milestone to 1.0
-
repo owner - changed status to resolved
- Log in to comment
Running in latest development master code:
Whatever was broken in 0.12, seems to be fixed now. @tey @polwel Do you guys remember this issue from before?