unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jay Belanger <belanger@truman.edu>
Cc: belanger@truman.edu
Subject: Re: Strange behaviour in calc
Date: Mon, 26 Sep 2005 23:30:30 -0500	[thread overview]
Message-ID: <87fyrrnndl.fsf@vh213602.truman.edu> (raw)
In-Reply-To: mailman.8774.1127794336.20277.help-gnu-emacs@gnu.org


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

       reply	other threads:[~2005-09-27  4:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.8774.1127794336.20277.help-gnu-emacs@gnu.org>
2005-09-27  4:30 ` Jay Belanger [this message]
2005-09-27 10:53   ` Strange behaviour in calc 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
2005-09-27  4:10 Neon Absentius

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fyrrnndl.fsf@vh213602.truman.edu \
    --to=belanger@truman.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).