[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/calc/calc-arith.el
From: |
Jay Belanger |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/calc/calc-arith.el |
Date: |
Mon, 14 Nov 2005 15:12:35 -0500 |
Index: emacs/lisp/calc/calc-arith.el
diff -c emacs/lisp/calc/calc-arith.el:1.20 emacs/lisp/calc/calc-arith.el:1.21
*** emacs/lisp/calc/calc-arith.el:1.20 Wed Nov 9 19:27:29 2005
--- emacs/lisp/calc/calc-arith.el Mon Nov 14 20:12:35 2005
***************
*** 1854,1859 ****
--- 1854,1863 ----
(math-mul-zero b a))))
(list '/ a b)))
+ ;;; Division from the left.
+ (defun calcFunc-ldiv (a b)
+ (math-mul (math-pow a -1) b))
+
(defun calcFunc-mod (a b)
(math-normalize (list '% a b)))