This website requires JavaScript.
Explore
Help
Sign In
test
/
vieter
forked from
vieter-v/vieter
Watch
1
Star
0
Fork
You've already forked vieter
0
Code
Issues
Pull Requests
Releases
Activity
fff440ee98
vieter
/
pieter
/
fibonacci.v
10 lines
104 B
V
Raw
Blame
History
module
fibonacci
pub
fn
fib
(
i
int
)
int
{
if
i
<=
1
{
return
i
}
return
fib
(
i
-
1
)
+
fib
(
i
-
2
)
}
Reference in New Issue
View Git Blame
Copy Permalink