Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
|||
#include "harbour.ch"
|
||||
Function fibb(a,b,n)
|
||||
return(if(--n>0,fibb(b,a+b,n),a))
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
#include "harbour.ch"
|
||||
Function fibb(n)
|
||||
local fnow:=0, fnext:=1, tempf
|
||||
while (--n>0)
|
||||
tempf:=fnow+fnext
|
||||
fnow:=fnext
|
||||
fnext:=tempf
|
||||
end while
|
||||
return(fnext)
|
||||
Loading…
Add table
Add a link
Reference in a new issue