[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: In CVS Emacs, calc-eval gives multiplication higher precidence than
From: |
Lennart Borgman (gmail) |
Subject: |
Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division |
Date: |
Mon, 08 Sep 2008 22:53:54 +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 |
Randal L. Schwartz wrote:
>>>>>> "Lennart" == Lennart Borgman (gmail) <address@hidden> writes:
>
> Lennart> Of course I can see that the behaviour you want saves you a lot of
> key
> Lennart> strokes. My question is really about the default value. You can
> easily
> Lennart> change that, of course. The question is really if you prefer the old
> Lennart> default and in that case what arguments you want to present for that.
>
> There's no need to change the longstanding defaults, because it would break
> things. You already have a knob you can tweak if you think that "2 a / 3 b"
> should multiply by b, rather than divide by it. That's a personal choice.
I think communication can be very difficult if you have too much
personal choice in it. Math is about communication (for a special class
of logical problems).
The original bug report was about this
(calc-eval "1 / 2 * 1000")
Calc treats this as 1 / (2 * 1000) which is just plain wrong. I have
never seen a mathematician treat it that way - though I have seen many
pupils doing that.
> Frankly, I'd never touch that knob, because it looks to me like it should
> divide by b. And I think most mathemeticians would agree, and that's the
> target for that part of Calc. Stop thinking computer science. Think
> *math* notation.
- 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 (gmail), 2008/09/08
- 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, Carsten Dominik, 2008/09/08
- 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) <=
- 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), 2008/09/09
- 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