MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / fibonacci

Function fibonacci

math/fibonacci.cpp:32–41  ·  view source on GitHub ↗

* @brief Function to compute the n-th Fibonacci number * @param n the index of the Fibonacci number * @returns n-th element of the Fibonacci's sequence */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected