News for hackers. Stuff that matters.
Re:On calculating Fibonacci numbers in C by orionblastar on Monday January 28, 2013 @12:24PM (#5129427)
I used to use the two bucket method to generate a Fibonacci number, thanks for showing me another way to do it.

I am working on Ackermann Numbers now, but it takes a very long time to generate them and I have to either write my own classes to handle big numbers or using a different library to use large numbers. I moved from C to C++ to do that. Your unsigned long int variable would run out of room after the 96th Fibonacci number, and you might have to move to C++ and use a custom class as well to be able to handle those big numbers.

Re:On calculating Fibonacci numbers in C by dalke on Monday January 28, 2013 @12:27PM (#5129436)
Note that the author did write "since the 96th Fibonacci number is the largest to fit in an unsigned long int".