Download this file
10 lines (8 with data), 345 Bytes
| ;;; Famous フィボナッチ (FIB) Benchmark with Japanese characters
(defun fib (x)
(labels ((フィボナッチ (n)
;; Standard definition
(cond ((= n 0) 0)
((= n 1) 1)
(t (+ (フィボナッチ (1- n)) (フィボナッチ (- n 2)))))))
(フィボナッチ x)))
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.