emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calc: `*' binds more strongly than `/'


From: Davis Herring
Subject: Re: Calc: `*' binds more strongly than `/'
Date: Thu, 26 Apr 2007 08:07:48 -0700 (PDT)
User-agent: SquirrelMail/1.4.8-4.el3.2lanl

>> I expect the reason is slightly different: it's that the same rule is
>> used
>> for "a * b / c * d" as for "a b / c d".
>
> Exactly; the motivation was for the implicit multiplication, but he
> didn't want to give implicit and explicit multiplication different
> precedences.

For what it's worth, Mathematica (one of the few other programs with the
"implicit multiplication" operator) gives implicit and explicit
multiplication and division equal precedence: a b/c d puts d in the
numerator, as does a*b/c*d.

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]