User blog comment:Alemagno12/What if ill-defined numbers, numbers that end in an infinite loop, numbers that don't have a definition, etc, were valid, well-defined numbers?/@comment-24920136-20161231035945

For the case of infinite loops, theres an easy "cheat" to make them well defined.

Just run the loop for a finite number of times and check the result :D