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
93cae977c6
nondescript
/
benchmarks
/
fib.nds
6 lines
102 B
Plaintext
Raw
Normal View
History
Unescape
Escape
function implementation prototype
2022-01-21 01:51:55 +01:00
var fib = funct(n)
custom string object
2022-01-28 04:17:11 +01:00
if (n < 2) ^result = 1.5
function implementation prototype
2022-01-21 01:51:55 +01:00
else ^result = fib(n-1) + fib(n-2)
;
custom string object
2022-01-28 04:17:11 +01:00
print fib(37.2);