5 ms·
Unless the compiler or runtime is smart enough to recognize the limit of that series [1], the naive implementation is an infinite loop which will never terminat
by DavidSJ 4y ago
Unless the compiler or runtime is smart enough to recognize the limit of that series [1], the naive implementation is an infinite loop which will never terminate.
[1] https://www.youtube.com/watch?v=d-o3eB9sfls https://www.youtube.com/watch?v=d-o3eB9sfls