[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange behaviour in calc
From: |
Jay Belanger |
Subject: |
Re: Strange behaviour in calc |
Date: |
Mon, 26 Sep 2005 23:30:30 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Neon Absentius <absent@sdf.lonestar.org> writes:
> Hello
>
> in GNU Emacs 21.4.1 on Debian testing/unstable using the debian calc package
> when I give the "algebraic" formula
>
> 4+6/10
>
> it evaluates to 23:5 which I think is the right answer since the
> standard convention is that division has precedence over addition.
> How ever on GNU Emacs 22.0.51.1 (multi-tty) the same algebraic
> expession evaluates to 1, which means that addition is evaluated
> before the division. Is this the intended behaviour or is this a bug?
> Even if this is the intended behaviour I would still suggest that it
> *is* a bug!
I agree; except I can't reproduce it.
In cvs Emacs, 4+6/10 gives me 4.6 or (in fraction mode) 23:5.
What are your calc settings?
Jay