[Shootout-list] Fibonacci Benchmark Correction

Isaac Gouy igouy2@yahoo.com
Fri, 18 Mar 2005 18:24:51 -0800 (PST)


> To correct all the code examples, just fix the conditional
> expressions:
> 
> if n<2 then fib(n)=n, or equivalent.
> 
> I hope this helpfull.

Suggesting a way to fix a perceived problem is helpful :-)

In this case, I think we'll change the code to match the Mathworld
reference.

afaict the original Shootout followed the definition given here
   http://cubbi.org/serious/fibonacci.html 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com