6 lines
97 B
Text
6 lines
97 B
Text
(import std.Math :floor)
|
|
|
|
(mut n 1024)
|
|
(while (> n 0) {
|
|
(print n)
|
|
(set n (floor (/ n 2))) })
|