libfork icon indicating copy to clipboard operation
libfork copied to clipboard

Error in fib ccpp benchmark

Open L4pr opened this issue 4 months ago • 0 comments

In the ccpp fibonacci benchmark I found an error that caused the implementation to give the wrong answer. This is caused by the first if statement being n <= 2 and not n < 2 like in the fibonacci implementation. After changing this it didn't output error anymore.

L4pr avatar Dec 14 '25 22:12 L4pr