DEV Community

Discussion on: Project Euler #2 - Even Fibonacci numbers

 
maxart2501 profile image
Massimo Artizzu

Yes, indeed. I am in fact using just plain double precision numbers there, and they do take a fixed amount of ticks for common operations like those on a modern CPU.

I wouldn't be so certain if I used JavaScript's BigInt numbers (or rather, I would be certain of the opposite).

Thank you for the explanation!