emacs-devel
[Top][All Lists]
Advanced

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

Re: In CVS Emacs, calc-eval gives multiplication higher precidence than


From: Stefan Monnier
Subject: Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division
Date: Mon, 08 Sep 2008 08:59:27 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> Again "a b" is not the same as "a * b", and "ab" is even a lot
>> more different (given the lack of even a space, it's hard to argue that
>> there could be something that binds more tightly).
>> So this argument is irrelevant.  I.e. I agree if Calc gives higher
>> precedence to the implicit multiplication operator, but not if it does
>> so to the "*" multiplication operator.

> Hm but in calc there doesn't seem to be any differentiation between
> "implicit" and "explicit" multiplication...  You can enter "a b / c d"
> and it is displayed the same (without the *, by default) as if you enter
> "a*b / c*d".  I guess it just treats them as different names for the
> same thing...

That both operators are accepted and get represented internally as the
same ASA node doesn't mean they have to have the same precedence.


        Stefan




reply via email to

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