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
In the link it is declared that:Mike. How would you know this sematically without encapsulating the "-" or assigning the negative to the 2 prior to the exponential operation?
Operator precedence
Operator Description
: colon Reference operators
, comma Reference operators
single space Reference operators
– Negation (as in –1)
% Percent
^ Exponentiation
* and / Multiplication and division
+ and – Addition and subtraction
& Connects two strings of text (concatenation)
= < > <= >= <> Comparison
Incidentally, Excel parses its formulae using modified Reverse Polish Notation.I don't think Excel can handle Reverse Polish Notation.
Exactly, negation takes precedence over exponentiation in Excel formulae.In the link it is declared that:
I like reverse polish notation in the HP48SX. In the context of this thread, I used HP48SX and HP48GX in scientific and equation modes.
Here is a summary of my tests: