test added

This commit is contained in:
2021-02-17 23:01:54 +01:00
parent 3ccc58a586
commit a39e61a061
3 changed files with 16 additions and 9 deletions

View File

@@ -8,7 +8,17 @@
(* n (fact (- n 1)))
))
(print (fact 1000))
(print (fact 5))
; for this stack must be 16MB, otherwise 1000 is ok
(defun scitej (n)
(if (<= n 1)
1
(+ n (scitej
(- n 1)))
))
(print (scitej 4000))