Loops/While: Difference between revisions

m
(added Ursala)
Line 542:
#show+
 
main = %nP*=xtx g <1024>
</lang>
output:
Line 557:
2
1
0
</pre>
Explicit iteration has its uses but there are always alternatives.
The same output is produced by the following main program
using bit manipulation.
<lang Ursala>
main = %nP*=tK33 1024
</lang>
 
=={{header|V}}==
Anonymous user