+ 3

Does this code solution to fibonacci problem make sense!!??? It does not go above a thousands! I want 4million as a limit.......

https://code.sololearn.com/WUtCTfgsqxLV/?ref=app

4th May 2020, 4:50 AM
asɥɐ🔹ʞɐɹnnƃı
asɥɐ🔹ʞɐɹnnƃı - avatar
2 Respostas
+ 3
Problem here is, integer supports value range from 2^53 and -2^53. After you go out of that range, it will give Infinity as answer.
4th May 2020, 5:05 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 1
Yes.....didnt think of that.....Thanks 🔫 Rick Grimes
4th May 2020, 10:52 AM
asɥɐ🔹ʞɐɹnnƃı
asɥɐ🔹ʞɐɹnnƃı - avatar