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

2 lines
40 B
Mathematica
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
printf('%d\n', 2.^[log2(1024):-1:0]);