Function: math-known-oddp
math-known-oddp is an autoloaded and byte-compiled function defined in
calc-arith.el.gz.
Signature
(math-known-oddp A)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-arith.el.gz
(defun math-known-oddp (a)
(cond ((Math-integerp a)
(math-oddp a))
((Math-messy-integerp a)
(and (<= (nth 2 a) 0)
(math-oddp (math-trunc a))))
((memq (car a) '(+ -))
(or (and (math-known-evenp (nth 1 a))
(math-known-oddp (nth 2 a)))
(and (math-known-oddp (nth 1 a))
(math-known-evenp (nth 2 a)))))
((eq (car a) 'neg)
(math-known-oddp (nth 1 a)))))