|
From: | Francis Litterio |
Subject: | bug#914: In CVS Emacs, calc-eval gives multiplication higher precidence than division |
Date: | Sun, 07 Sep 2008 12:06:38 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) |
In CVS Emacs, function calc-eval (in lisp/calc/calc.el) gives multiplication higher precidence than division. To reproduce, run "emacs -q" and evaluate this form: (progn (require 'calc) (calc-eval "1 / 2 * 1000")) The value of the above form is "5e-4" (as if operator '*' has higher precidence than operator '/'), but it should be "500". -- Fran
[Prev in Thread] | Current Thread | [Next in Thread] |