Reversed 8bit numbers by teebee

p r=0;1.upto(?\xff){|n|p r^=256-?\x80/n&=-n}

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

download

return to the top page