;;; calc-bin.el --- binary functions for Calc
-;; Copyright (C) 1990-1993, 2001-2011 Free Software Foundation, Inc.
+;; Copyright (C) 1990-1993, 2001-2016 Free Software Foundation, Inc.
;; Author: David Gillespie <daveg@synaptics.com>
-;; Maintainer: Jay Belanger <jay.p.belanger@gmail.com>
;; This file is part of GNU Emacs.
(if (eq (car-safe b) 'mod)
(if (equal mod (nth 2 b))
(setq b (nth 1 b))
- (math-reject-arg b "*Inconsistent modulos"))))
+ (math-reject-arg b "*Inconsistent modulus"))))
(setq mod (nth 2 b)
b (nth 1 b)))
(if (Math-messy-integerp mod)
(if w
(if (/= w bits)
(calc-record-why
- "*Warning: Modulo inconsistent with word size"))
+ "*Warning: Modulus inconsistent with word size"))
(setq w bits))
- (calc-record-why "*Warning: Modulo is not a power of 2"))
+ (calc-record-why "*Warning: Modulus is not a power of 2"))
(math-make-mod (if b
(funcall f a b w)
(funcall f a w))