- #1
Twinbee
- 117
- 0
The sum below has two potential answers:
A: 1/-2/3 = -0.1666666667
B: 1/-2/3 = -1.5
Programming languages and most (but not all) calculators claim A is correct.
However, B seems to follow operator precedence more accurately as the division is performed before the unary minus. Using brackets:
1/(-(2/3))
...makes more sense than:
(1/-2)/3
Is there a more official stance on the issue?
A: 1/-2/3 = -0.1666666667
B: 1/-2/3 = -1.5
Programming languages and most (but not all) calculators claim A is correct.
However, B seems to follow operator precedence more accurately as the division is performed before the unary minus. Using brackets:
1/(-(2/3))
...makes more sense than:
(1/-2)/3
Is there a more official stance on the issue?