RosettaCodeData/Task/Loops-While/MATLAB/loops-while-2.m

2 lines
40 B
Mathematica
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
printf('%d\n', 2.^[log2(1024):-1:0]);