mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-18 08:58:39 +00:00
bugfix: bug #511622
This commit is contained in:
@@ -9,7 +9,7 @@ tbind3.nim;1
|
||||
tbintre2.nim;halloworld99110223
|
||||
tbintree.nim;halloworld99110223
|
||||
tbug499771.nim;TSubRange: 5 from 1 to 10
|
||||
tbug511622.nim;10
|
||||
tbug511622.nim;3
|
||||
tcasestm.nim;ayyy
|
||||
tclosure.nim;2 4 6 8 10
|
||||
tcnstseq.nim;AngelikaAnneAnnaAnkaAnja
|
||||
|
||||
|
@@ -6,4 +6,5 @@ proc FibonacciA(n: int): int64 =
|
||||
var q: float64 = 1.0 / p
|
||||
return int64((pow(p, fn) + pow(q, fn)) / sqrt(5.0))
|
||||
|
||||
echo FibonacciA(4) #OUT 10
|
||||
echo FibonacciA(4) #OUT 3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user