MCPcopy Create free account
hub / github.com/aclements/libelfin / fib

Function fib

test/example.c:1–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1int fib(int x)
2{
3 if (x <= 1)
4 return x;
5 return fib(x - 1) + fib(x - 2);
6}
7
8int main(int argc, char **argv)
9{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected