- changed status to duplicate
Inconsistent results for ambiguous expressions depending on explicit multiplication (*) or implicit
Issue #886
duplicate
Equations of the form a/b*c can give different result depending on whether division or multiplication is given the higher priority:
For example 6/2(1+2) can be read as 6/(23) or (6/2)*3.
There is no right or wrong way for a calculator to interpret this (although my preference is evaluation from left to right)
SpeedCrunch v0.12 however, parses the expression differently depending on whether the multiplication has an explicit asterisk or not:
6/2*(1+2) = 9
6/2(1+2) = 1
Comments (2)
-
-
It has been fixed in trunk already, you can try the nightly builds if you need the fix.
- Log in to comment
Duplicate of
#860.