Function: math-choose-float-iter

math-choose-float-iter is a byte-compiled function defined in calc-comb.el.gz.

Signature

(math-choose-float-iter COUNT N I C)

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-comb.el.gz
(defun math-choose-float-iter (count n i c)
  (while (> count 0)
    (when (= (% i 5) 1)
      (math-working (format "choose(%d)" (1- i)) c))
    (setq c (math-div (math-mul c n) i))
    (setq n (math-sub n 1))
    (setq i (1+ i))
    (setq count (1- count)))
  c)