[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#914: In CVS Emacs, calc-eval gives multiplication higher precide
From: |
Lennart Borgman (gmail) |
Subject: |
Re: bug#914: In CVS Emacs, calc-eval gives multiplication higher precidence than division |
Date: |
Tue, 09 Sep 2008 18:41:02 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
Ulrich Mueller wrote:
>>>>>> On Tue, 09 Sep 2008, Francis Litterio wrote:
>
>> But we should be prepared for more bug reports about this, unless some
>> means can be devised to alert Calc users about the precedence rule.
>
>> Would it be in appropriate to append a comment to the result when Calc
>> is used interactively?
>
> I thought the problem (if there is one) existed only when evaluating
> algebraic notation? If used interactively, calc is using RPN and there
> is no ambiguity:
>
> 1 RET 2 / 1000 * is (1 / 2) * 1000
> 1 RET 2 RET 1000 * / is 1 / (2 * 1000)
>
> Am I mising something?
Yes, there is an "algebraic mode". This is described in
(info "(Calc) Algebraic Tutorial")
On top of this is a big remark which tells about the non-standard
precedence rule we have been discussing:
*Warning:* Note that `/' has lower precedence than `*', so that
`a/b*c' is interpreted as `a/(b*c)'. See below for details.
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, (continued)
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Lennart Borgman, 2008/09/08
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Carsten Dominik, 2008/09/08
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Lennart Borgman (gmail), 2008/09/08
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Randal L. Schwartz, 2008/09/08
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Lennart Borgman (gmail), 2008/09/08
- Re: bug#914: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Jay Belanger, 2008/09/08
- Re: bug#914: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Lennart Borgman (gmail), 2008/09/08
- Re: bug#914: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Stefan Monnier, 2008/09/09
- Re: bug#914: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Francis Litterio, 2008/09/09
- Re: bug#914: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Ulrich Mueller, 2008/09/09
- Re: bug#914: In CVS Emacs, calc-eval gives multiplication higher precidence than division,
Lennart Borgman (gmail) <=
- Re: bug#914: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Leo, 2008/09/30
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Stefan Monnier, 2008/09/08
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Richard M. Stallman, 2008/09/09
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Stefan Monnier, 2008/09/09
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Lennart Borgman (gmail), 2008/09/09
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Stefan Monnier, 2008/09/09
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Stefan Monnier, 2008/09/08
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Jay Belanger, 2008/09/07
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Stefan Monnier, 2008/09/07
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Lennart Borgman (gmail), 2008/09/07