Comment

Comment by protomyth

"....since the 96th Fibonacci number is the largest to fit in an unsigned long int"

Have to agree with the first person to comment on the article's site. If we are going for speed, just pre-calc the 96 numbers and do an array lookup in the function guarded by and if.

parent protomyth 13 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton