bldc/benchmarks/dec_cnt3.lisp

6 lines
123 B
Common Lisp

(define dec-cnt3 (lambda (x)
(if (> x 0) (dec-cnt3 (- (- (- (- (- (- (- x 1) 1) 1) 1) 1) 1) 1)) 0)
))
(dec-cnt3 100000)