On 10/24/06, Raymond Toy <raymond.toy at ericsson.com> wrote:
> Isn't exp(-x)*y the correct parsing of %e^-x*y?
Opinions differ. Fortran 77 gives unary negation the same precedence
as subtraction, and gives both the same precedence as addition.
That is the policy implemented by :lisp (put '$- 100 'rbp) in Maxima.
In that case, %e^-x*y parses as %e^(-(x*y)).
That's a sensible and consistent policy, although it appears
most other languages haven't adopted it.
FWIW
Robert