Function: math-guess-if-neg
math-guess-if-neg is an autoloaded and byte-compiled function defined
in calc-arith.el.gz.
Signature
(math-guess-if-neg A)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-arith.el.gz
;;; Return true if A is negative, or looks negative but we don't know.
(defun math-guess-if-neg (a)
(let ((sgn (math-possible-signs a)))
(if (memq sgn '(1 3))
t
(if (memq sgn '(2 4 6))
nil
(math-looks-negp a)))))