Re:Common Species Of Code
by thaumasiotes on Monday November 11, 2013 @09:31AM
(#6711732)
I wrote an explicit-formula fibonacci function once. I think you lose precision before n=100. It was disappointing.
[ Parent
| on HN ]
Re:Common Species Of Code
by LearnYouALisp on Monday November 11, 2013 @11:11AM
(#6712263)
Yes but the mathematician considers the numbers under 100 to be very small fraction of the numbers under, 1000, or 10^12 or something. Or, in math language, a very small portion of the natural numbers.
As some one who rights stats libraries, I can see it now.
"Bug: code does not work with an input of 1"
"1 is of approaching-zero-significance when you consider all of the other test cases we are meeting. 1 is not the responsibility of this lib. Feel free to fork. ======= issue closed."