Loops/While: Difference between revisions

no edit summary
No edit summary
Line 346:
</lang>
Even without the <code>floor()</code> the code will in fact end. But it's FAR beyond 1.
 
=={{header|F_Sharp|F#}}==
<lang fsharp>let rec loop n = if n > 0 then printf "%d " n; loop (n / 2)
loop 1024</lang>
 
=={{header|Factor}}==
Anonymous user