Function: math-nearly-zerop-float

math-nearly-zerop-float is an autoloaded and byte-compiled function defined in calc-math.el.gz.

Signature

(math-nearly-zerop-float A B)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-math.el.gz
;;; True if A is nearly zero compared to B.  [P F F]
(defun math-nearly-zerop-float (a b)
  (or (eq (nth 1 a) 0)
      (<= (+ (math-numdigs (nth 1 a)) (nth 2 a))
	  (1+ (- (+ (math-numdigs (nth 1 b)) (nth 2 b)) calc-internal-prec)))))