3 ms·
What's wrong with the closed form formula?
by threatofrain 1y ago
What's wrong with the closed form formula?
- meindnoch 1y agoThe closed-form formula won't work for F(99999999) unless you're using an arbitrary-precision floating point library, and even then, you'd have trouble getting an integer result due to the transcendental sqrt(5) factors.