1234567891011121314151617181920212223242526272829303132333435363738 |
- fast_fibonacci(i: Integer): Integer do
- a: Integer
- b: Integer
- temp: Integer
- count: Integer
- count := i
- a := 0
- b := 1
- //b := a <=> b
- while count != 0 do
- temp := a
- a := a + b
- b := temp
- count := count - 1
- end
- return a
- end
- extern do_shit
- bignumbers do
- a: Int128
- b: Int128
- c: Int64
- b := a + c as Int128
- c := b as Int64
- end
- main2 do
- value: Integer
- do_shit
- end
|