Re:Why is there not a Square Root button in calc.exe?
by dchest on Saturday August 21, 2010 @06:53PM
(#1623814)
(1 + 2) * 3
[ Parent
| on HN ]
Re:Why is there not a Square Root button in calc.exe?
by jacquesm on Saturday August 21, 2010 @06:54PM
(#1623815)
You've just changed the precedence.
Re:Why is there not a Square Root button in calc.exe?
by dchest on Saturday August 21, 2010 @07:01PM
(#1623825)
Thanks, I know. I meant that most non-scientific calculators I used worked this way.
Re:Why is there not a Square Root button in calc.exe?
by jacquesm on Saturday August 21, 2010 @07:06PM
(#1623830)
That doesn't make them less broken!
And if the software has the capability to do it right why bother building in a 'broken' mode.
Re:Why is there not a Square Root button in calc.exe?
by evilduck on Saturday August 21, 2010 @08:16PM
(#1623927)
It reflects the old paper tape usage model, where you typed it in in the order you wanted to perform the operations.
Apple's Calculator.app works similarly, although their default state is better. If you open up the "Shown Paper Tape" window, and type "1 + 2 * 3 [enter]", it replies "1 + 2 * 3 = 7" If you then type "1 + 2 [enter]", it replies "1 + 2 = 3", then if you hit " * 3 [enter]" it replies "1 + 2 * 3 = 9".