MCPcopy Create free account
hub / github.com/TheAlgorithms/Rust / logarithmic_fibonacci

Function logarithmic_fibonacci

src/dynamic_programming/fibonacci.rs:70–80  ·  view source on GitHub ↗

logarithmic_fibonacci(n) returns the nth fibonacci number This function uses the definition of Fibonacci where: F(0) = 0, F(1) = 1 and F(n+1) = F(n) + F(n-1) for n>0 Warning: This will overflow the 128-bit unsigned integer at n=186

(n: u32)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

_logarithmic_fibonacciFunction · 0.85

Tested by

no test coverage detected