Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
|
||||
FibFunction(UNSIGNED2 n) := FUNCTION
|
||||
REAL Sqrt5 := Sqrt(5);
|
||||
REAL Phi := (1+Sqrt(5))/2;
|
||||
REAL Phi_Inv := 1/Phi;
|
||||
UNSIGNED FibValue := ROUND( ( POWER(Phi,n)-POWER(Phi_Inv,n) ) /Sqrt5);
|
||||
RETURN FibValue;
|
||||
END;
|
||||
REAL Sqrt5 := Sqrt(5);
|
||||
REAL Phi := (1+Sqrt(5))/2;
|
||||
REAL Phi_Inv := 1/Phi;
|
||||
UNSIGNED FibValue := ROUND( ( POWER(Phi,n)-POWER(Phi_Inv,n) ) /Sqrt5);
|
||||
RETURN FibValue;
|
||||
END;
|
||||
|
||||
FibSeries(UNSIGNED2 n) := FUNCTION
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue