aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Belanger2004-11-17 19:23:01 +0000
committerJay Belanger2004-11-17 19:23:01 +0000
commite10300728dfe90ef55135dc309c9618db8f88d4b (patch)
treecc7bd08b0b5b13ba4c89131d5babf99c6b806e29
parente528df0df81580e8bb6d6ed1b45ab1948d7b5cd5 (diff)
downloademacs-e10300728dfe90ef55135dc309c9618db8f88d4b.tar.gz
emacs-e10300728dfe90ef55135dc309c9618db8f88d4b.zip
(calc-poly-div-remainder): Declared it.
-rw-r--r--lisp/calc/calc-poly.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/calc/calc-poly.el b/lisp/calc/calc-poly.el
index 6ede0888319..8a4b2571d20 100644
--- a/lisp/calc/calc-poly.el
+++ b/lisp/calc/calc-poly.el
@@ -3,8 +3,7 @@
3;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. 3;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc.
4 4
5;; Author: David Gillespie <daveg@synaptics.com> 5;; Author: David Gillespie <daveg@synaptics.com>
6;; Maintainers: D. Goel <deego@gnufans.org> 6;; Maintainer: Jay Belanger <belanger@truman.edu>
7;; Colin Walters <walters@debian.org>
8 7
9;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
10 9
@@ -152,6 +151,12 @@
152 (math-poly-gcd pn pd))) 151 (math-poly-gcd pn pd)))
153 152
154;;; Return only quotient to top of stack (nil if zero) 153;;; Return only quotient to top of stack (nil if zero)
154
155;; calc-poly-div-remainder is a local variable for
156;; calc-poly-div (in calc-alg.el), but is used by
157;; calcFunc-pdiv, which is called by calc-poly-div.
158(defvar calc-poly-div-remainder)
159
155(defun calcFunc-pdiv (pn pd &optional base) 160(defun calcFunc-pdiv (pn pd &optional base)
156 (let* ((calc-prefer-frac t) 161 (let* ((calc-prefer-frac t)
157 (math-poly-modulus (math-poly-modulus pn pd)) 162 (math-poly-modulus (math-poly-modulus pn pd))