Function: math-provably-integerp

math-provably-integerp is a byte-compiled function defined in calc-ext.el.gz.

Signature

(math-provably-integerp A)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-ext.el.gz
;;; True if A is an integer or will evaluate to an integer.  [P x] [Public]
(defun math-provably-integerp (a)
  (or (Math-integerp a)
      (and (memq (car-safe a) '(calcFunc-trunc
				calcFunc-round
				calcFunc-rounde
				calcFunc-roundu
				calcFunc-floor
				calcFunc-ceil))
	   (= (length a) 2))))