4 ms·
>"LLVM considers infinite recursion to be UB, Not sure why he used the word "recursion" since collatz() is not calling itself.
by jasode 5y ago
>"LLVM considers infinite recursion to be UB,
Not sure why he used the word "recursion" since collatz() is not calling itself.
- tpush 5y agoHe means the general concept of recursion, of which looping is an implementation, so to speak.
- forgetfulness 5y agoIt's in the computability theory sense, since compilers and language specifications are symbolic math-heavy, and in math you model all these things as recursive functions, the terminology is applied uniformly.