Rolling division by clock

n=gets.to_f*2
p n=n.to_i/2.0until 2>n+=n%2/2

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

download

return to the top page