mortgageman
Well-known Member
- Joined
- Jun 30, 2005
- Messages
- 2,015
According to math rules 2^3^2 should equal 2^9 (you go right to left in this case). Excel gives 64. Is this a known bug?
Gene Klein
Gene Klein
<SNIP> If a formula contains operators with the same precedence - for example, if a formula contains both a multiplication and division operator - Excel evaluates the operators from left to right
The declared functionality is not a bug.
Excel follows the declared rules therefore it’s not a bug.
<SNIP>
The student who decides to use Excel - typing in 2^3^2, because that is the only symbology allowed by the keyboard
"The student who decides to use Excel - typing in 2^3^2, because that is the only symbology allowed by the keyboard - will get the wrong answer" to your question, and will therefore hopefully learn how to use Excel properly.
Of course it isn't the only symbology allowed by the keyboard: 2^(3^2) is also valid and gives the correct answer to your question.
Mike. How would you know this sematically without encapsulating the "-" or assigning the negative to the 2 prior to the exponential operation?