(math-use-emacs-fn): Make sure that the lisp number is in decimal.
This commit is contained in:
parent
2f49167cb2
commit
7b3752ab87
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-02-21 Jay Belanger <jay.p.belanger@gmail.com>
|
||||
|
||||
* calc/calc-math.el (math-use-emacs-fn): Make sure that the
|
||||
lisp number is in decimal.
|
||||
|
||||
2009-02-21 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* progmodes/compile.el (compilation-error-regexp-alist-alist):
|
||||
|
|
|
@ -105,7 +105,9 @@ If this can't be done, return NIL."
|
|||
(math-read-number
|
||||
(number-to-string
|
||||
(funcall fn
|
||||
(string-to-number (math-format-number (math-float x))))))
|
||||
(string-to-number
|
||||
(let ((calc-number-radix 10))
|
||||
(math-format-number (math-float x)))))))
|
||||
(error nil))))))
|
||||
|
||||
(defun calc-sqrt (arg)
|
||||
|
|
Loading…
Add table
Reference in a new issue