Function: calcFunc-dodd

calcFunc-dodd is an autoloaded and byte-compiled function defined in calc-arith.el.gz.

Signature

(calcFunc-dodd EXPR)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-arith.el.gz
(defun calcFunc-dodd (expr)
  (if (math-known-oddp expr)
      1
    (if (or (math-known-evenp expr)
	    (= (logand (math-possible-types expr) 3) 0))
	0
      (math-reject-arg expr "Can't tell if expression is odd or even"))))