[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calc: `*' binds more strongly than `/'
From: |
Davis Herring |
Subject: |
Re: Calc: `*' binds more strongly than `/' |
Date: |
Thu, 26 Apr 2007 08:07:48 -0700 (PDT) |
User-agent: |
SquirrelMail/1.4.8-4.el3.2lanl |
>> I expect the reason is slightly different: it's that the same rule is
>> used
>> for "a * b / c * d" as for "a b / c d".
>
> Exactly; the motivation was for the implicit multiplication, but he
> didn't want to give implicit and explicit multiplication different
> precedences.
For what it's worth, Mathematica (one of the few other programs with the
"implicit multiplication" operator) gives implicit and explicit
multiplication and division equal precedence: a b/c d puts d in the
numerator, as does a*b/c*d.
Davis
--
This product is sold by volume, not by mass. If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.
- Re: Calc: `*' binds more strongly than `/', (continued)
- Re: Calc: `*' binds more strongly than `/', Jay Belanger, 2007/04/22
- Re: Calc: `*' binds more strongly than `/', Jason Rumney, 2007/04/23
- Re: Calc: `*' binds more strongly than `/', Kim F. Storm, 2007/04/23
- Re: Calc: `*' binds more strongly than `/', Jay Belanger, 2007/04/23
- Re: Calc: `*' binds more strongly than `/', Christian Schlauer, 2007/04/25
- Re: Calc: `*' binds more strongly than `/', Jay Belanger, 2007/04/25
- Re: Calc: `*' binds more strongly than `/', Stefan Monnier, 2007/04/25
- Re: Calc: `*' binds more strongly than `/', Jay Belanger, 2007/04/26
- Re: Calc: `*' binds more strongly than `/', Stefan Monnier, 2007/04/26
- Re: Calc: `*' binds more strongly than `/', Christian Schlauer, 2007/04/26
- Re: Calc: `*' binds more strongly than `/',
Davis Herring <=
- Re: Calc: `*' binds more strongly than `/', Stefan Monnier, 2007/04/26
- Re: Calc: `*' binds more strongly than `/', Luc Teirlinck, 2007/04/26
- Re: Calc: `*' binds more strongly than `/', Christian Schlauer, 2007/04/26
- Re: Calc: `*' binds more strongly than `/', Luc Teirlinck, 2007/04/26
- Re: Calc: `*' binds more strongly than `/', Christian Schlauer, 2007/04/26
- Re: Calc: `*' binds more strongly than `/', Jay Belanger, 2007/04/26
- Re: Calc: `*' binds more strongly than `/', Davis Herring, 2007/04/26
- Re: Calc: `*' binds more strongly than `/', Jay Belanger, 2007/04/17
- Re: Calc: `*' binds more strongly than `/', Christian Schlauer, 2007/04/18
- Re: Calc: `*' binds more strongly than `/', Daniel Brockman, 2007/04/18