[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: |
Randal L. Schwartz |
Subject: |
Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division |
Date: |
Sun, 07 Sep 2008 13:32:19 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (berkeley-unix) |
>>>>> "Stefan" == Stefan Monnier <address@hidden> writes:
Stefan> I think Calc is plainly wrong is giving higher precedence to the
Stefan> multiplication because it's completely non standard. But since I don't
Stefan> use Calc much and since it's been that way for a while, I won't fight
Stefan> for it.
Given the original author's mathematics bias, it made sense (to me, as
an early tester and contributor) that:
2 * 3 / 4 * 5
would be parsed as
(2 * 3) / (4 * 5)
in a mathematical sense.
Admittedly, if you're a computer-science guy and not a math guy, this might
seem initially odd.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<address@hidden> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
- In CVS Emacs, calc-eval gives multiplication higher precidence than division, Francis Litterio, 2008/09/07
- 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, Francis Litterio, 2008/09/07
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Stefan Monnier, 2008/09/07
- Re: bug#920: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Lennart Borgman (gmail), 2008/09/07
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division,
Randal L. Schwartz <=
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Lennart Borgman (gmail), 2008/09/07
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Randal L. Schwartz, 2008/09/07
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Lennart Borgman (gmail), 2008/09/07
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Randal L. Schwartz, 2008/09/07
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Lennart Borgman (gmail), 2008/09/07
- Re: In CVS Emacs, calc-eval gives multiplication higher precidence than division, Ulrich Mueller, 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, Stefan Monnier, 2008/09/07
- 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, Jason Rumney, 2008/09/07