It usually happens when the CPU does not properly get the instructions or simply can not execute. I had a similar encounter while solving the "Super Pow" challenge on Leetcode. The underlying CPU that Leetcode provided could calculate the pow() in my code up to a specific range and the same algorithm failed when the power was raised to 200 or more on a large Int base. So, this issue is mainly due to lack of computation power of a CPU while performing large computations as I can observe.
Topic:
Programming Languages
SubTopic:
Swift
Tags: