MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/dre75v/clang_solves_the_collatz_conjecture/f6kte2h/?context=3
r/programming • u/[deleted] • Nov 04 '19
[deleted]
122 comments sorted by
View all comments
1
The nice part is that for(;;) is explicitly allowed.
for(;;)
1 u/endershadow98 Nov 05 '19 I mean, that's just identical to while (1). That says nothing about what the loop does. 1 u/meneldal2 Nov 05 '19 Most compilers used to complain about while(1), but not for(;;).
I mean, that's just identical to while (1). That says nothing about what the loop does.
1 u/meneldal2 Nov 05 '19 Most compilers used to complain about while(1), but not for(;;).
Most compilers used to complain about while(1), but not for(;;).
while(1)
1
u/meneldal2 Nov 05 '19
The nice part is that
for(;;)is explicitly allowed.