Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A simplier math formula
Message
From
17/12/2008 15:13:17
 
General information
Forum:
Politics
Category:
Other
Miscellaneous
Thread ID:
01367448
Message ID:
01368284
Views:
10
>>Ok, I get it now. The unary operator takes precedence over exponentiation because..... you want it to? I tried that philosophy out when I was in school in hopes of perfect scores on everything. Oddly, it didn't work out that way. ;)
>
>No Alan, the designers of the language (VFP in this case) wanted it that way. Some other languages might implement a different order of precedence and then some other languages get rid of the problem by using a different notation altogether, like RPN (Reverse Polish Notation). The trick is to learn the rules of the language you are using, something that will be very clear if your language of choice was using RPN :)

Except that I'm not talking about any programming languages. I'm talking about the rules of Mathematics - which state that the unary operator is a substitute for multiplication, and exponentiation takes precedence.
Previous
Reply
Map
View

Click here to load this message in the networking platform