int i = 1024; while(i > 0) { write(i); i = i # 2; //or also i = quotient(i, 2); } //# Integer division; equivalent to quotient(x,y). //Noting that the Python3 community adopted the comment symbol (//) for integer division, the //Asymptote community decided to reciprocate and use their comment symbol for integer division!