[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calc: `*' binds more strongly than `/'
From: |
Stefan Monnier |
Subject: |
Re: Calc: `*' binds more strongly than `/' |
Date: |
Wed, 18 Apr 2007 15:27:12 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux) |
>>> No, not normal for mathemeticians (and me on a bad day), who expect
>>> A*B/C*D to be the same as (A*B)/(C*D).
>> But for "A*B/C*D" I have a difficult time believing that some "standard math
>> notation" would parse it as you suggest. I.e. do you have any reference to
>> concrete data to back up this hypothesis?
> Yes, if you read it as
> A * B
> -----
> C * D
> I (and I believe the calc author) interpret it as above
I don't think so.
Theorem: the "/" is *not* a horizontal bar.
Proof:
What parse tree do you expect from A+B/C+D?
Is it the same as the one you expect from
A + B
-----
C + D
QED.
Stefan
- Calc: `*' binds more strongly than `/', Christian Schlauer, 2007/04/14
- Re: Calc: `*' binds more strongly than `/', Jay Belanger, 2007/04/14
- Re: Calc: `*' binds more strongly than `/', Chong Yidong, 2007/04/15
- Re: Calc: `*' binds more strongly than `/', Stefan Monnier, 2007/04/15
- Re: Calc: `*' binds more strongly than `/', Randal L. Schwartz, 2007/04/17
- Re: Calc: `*' binds more strongly than `/', Stefan Monnier, 2007/04/17
- Re: Calc: `*' binds more strongly than `/', Kim F. Storm, 2007/04/18
- Re: Calc: `*' binds more strongly than `/',
Stefan Monnier <=
- Re: Calc: `*' binds more strongly than `/', Davis Herring, 2007/04/18
- Re: Calc: `*' binds more strongly than `/', David Kastrup, 2007/04/18
- Re: Calc: `*' binds more strongly than `/', Davis Herring, 2007/04/18
- Re: Calc: `*' binds more strongly than `/', Stefan Monnier, 2007/04/19
- Re: Calc: `*' binds more strongly than `/', Randal L. Schwartz, 2007/04/20
- Re: Calc: `*' binds more strongly than `/', Stefan Monnier, 2007/04/20
- Re: Calc: `*' binds more strongly than `/', Jay Belanger, 2007/04/20
- Re: Calc: `*' binds more strongly than `/', Miles Bader, 2007/04/21
- Re: Calc: `*' binds more strongly than `/', Christian Schlauer, 2007/04/22
- Re: Calc: `*' binds more strongly than `/', Christian Schlauer, 2007/04/22