MCPcopy Create free account
hub / github.com/TheAlgorithms/C / fib

Function fib

math/fibonacci.c:26–44  ·  view source on GitHub ↗

* @brief Determines the nth Fibonacci term * @param number - n in "nth term" and it can't be negative as well as zero * @return nth term in unsigned type * @warning * Only till 47th and 48th fibonacci element can be stored in `int` and * `unsigned int` respectively (takes more than 20 seconds to print) */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

testFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected