Skip to content

Commit

Permalink
Specify thatfib(48) needn't get a correct treatment
Browse files Browse the repository at this point in the history
* Closes #340
  • Loading branch information
PEZ committed Jan 25, 2025
1 parent 6c53bdb commit 3c80bad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fibonacci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ This program should benchmark a function computing `fibonacci(n)` using naïve r
* For the non-base cases the code should do two recursive calls.
* The code should be free of any hints to the compiler to memoize, use tail recursion,
iterative methods, or any avoidance of the naïve recursion.
* The program need not handle `n > 47` in a correct way.

If some compiler finds ways to avoid recursive calls without any hints, than that is a result. We are in some sense testing compilers here, after all.

Expand Down

0 comments on commit 3c80bad

Please sign in to comment.