Order of Numeric Operations
Was:
- Innermost operations between parentheses
- Exponentiation
- Negation
- Multiplication, Division
- Integer Division
- Modulo
- Addition and Subtraction
Now is:
- Innermost operations between parentheses
- Exponentiation
- Negation
- Multiplication, Division, Integer Division, Modulo
- Addition and Subtraction
Negative Exponents
Negative exponents (for example: 5 ^ -2) would cause a program to abort with an error.
Now, BASIC Anywhere Machine knows how to handle negation of the exponent.
No comments:
Post a Comment