emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fix for calculating large factorials


From: michael schuldt
Subject: Fix for calculating large factorials
Date: Tue, 18 Apr 2017 01:44:49 -0700


I was playing around with calc bignums and found that calculating the factorial of
large numbers results in the error "Variable binding depth exceeds max-specpdl-size".

I though this might be a good chance to try out the contribution process, I've attached
a path which simply eliminates the troublesome recursiveness of math-factorial-iter.


-Michael

Attachment: factorial.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]