all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Strange behaviour in calc
@ 2005-09-27  4:10 Neon Absentius
  0 siblings, 0 replies; 7+ messages in thread
From: Neon Absentius @ 2005-09-27  4:10 UTC (permalink / raw)


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!



-- 
Everyone is so overwhelmed by the hospitality. And so many of the
people in the arena here, you know, were underprivileged anyway, so
this--this (she chuckles slightly) is working very well for them.
     -- Barbara Bush, about the refuges from New Orleans.

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <mailman.8774.1127794336.20277.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2005-09-27 15:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-27  4:10 Strange behaviour in calc Neon Absentius
     [not found] <mailman.8774.1127794336.20277.help-gnu-emacs@gnu.org>
2005-09-27  4:30 ` Jay Belanger
2005-09-27 10:53   ` Neon Absentius
     [not found]   ` <mailman.8806.1127819723.20277.help-gnu-emacs@gnu.org>
2005-09-27 13:23     ` Thien-Thi Nguyen
2005-09-27 14:29       ` Neon Absentius
     [not found]       ` <mailman.8837.1127832035.20277.help-gnu-emacs@gnu.org>
2005-09-27 15:26         ` Thien-Thi Nguyen
2005-09-27 14:59     ` Jay Belanger

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.