repo.or.cz
/
sixpic.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Changed the way jumps are generated to avoid generating jumps to the
[sixpic.git]
/
tests
/
general
/
fib.c
blob
9a7ce1adc58c979dee9d3226a2401ee86bd84c6a
1
// iterative fibonacci
2
3
int
fib
(
byte i
){
4
int
a
=
0
;
5
int
b
=
1
;
6
int
t
;
7
while
(
i
){
8
t
=
b
;
9
b
=
b
+
a
;
10
a
=
t
;
11
i
--;
12
}
13
return
a
;
14
}
15
16
fib
(
6
);