This website requires JavaScript.
Explore
Help
Sign In
prod2
/
nondescript
Watch
1
Star
1
Fork
You've already forked nondescript
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
90d04f13f6
nondescript
/
benchmarks
/
fib.nds
6 lines
98 B
Plaintext
Raw
Normal View
History
Unescape
Escape
function implementation prototype
2022-01-21 01:51:55 +01:00
var fib = funct(n)
if (n < 2) ^result = 1
else ^result = fib(n-1) + fib(n-2)
;
benchmarking; changed arg length from 3 to 2
2022-01-21 18:37:46 +01:00
print fib(37);