numof 1 bits in 0 to 255 by pooq

for i=0to 255a=0
for j=0to 7a=a+mod(int(i/2^j),2)next
?a,"";next

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page