Use iteration in math-factorial-iter
commitd831312d668fbedeffe3711b13cd455309da84a1
authormichael schuldt <mbschuldt@gmail.com>
Tue, 18 Apr 2017 18:24:37 +0000 (18 11:24 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 18 Apr 2017 18:25:13 +0000 (18 11:25 -0700)
tree9b5a0e0fb0e27784ca8b3af2e9db93a4a1169a99
parent0c98dec5c9d0e0146a1519b9a7e099aae668c059
Use iteration in math-factorial-iter

* lisp/calc/calc-comb.el (math-factorial-iter):
Use iteration instead of recursion to avoid max-specpdl-size problem.
Copyright-paperwork-exempt: yes
lisp/calc/calc-comb.el