ieee754 by 51b

import std.stdio;void main(){int[3]x;for(int n;~scanf("%s",&*x);puts="")for(scanf(cast(char*)(*x%3?n=1,"%f":*x%2?n=3,"%Lf":(n=2,"%lf")),&*x);n--;writef("%0*x",n-2?8:4,x[n]))*x-=x[1]>>27^-7?0:*x%2?1:-1;}

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

download

return to the top page