repo.or.cz
/
ruby.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[rubygems/rubygems] Use a constant empty tar header to avoid extra allocations
[ruby.git]
/
sample
/
fib.awk
blob
9589f97965dbd43a1a961dd8eb7d391dfb9f88f9
1
function
fib
(
n
) {
2
if
(
n
<
2
)
return
n
;
else return
fib
(
n
-
2
) +
fib
(
n
-
1
)
3
}
4
5
BEGIN
{
print
fib
(
20
); }