Rolling division by smkt

#define z (int)n
#define p printf("%.1f\n",n)
float atof(char*);main(){int b[9];float n=atof(gets(b)),w;p;while(n>1)n/=2,w=n-z,n=w>.3?z+(w<.7?.5:1):z,p;}

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

download

return to the top page