ieee754 by 51b

x[3];main(n){for(;~scanf("%s",&n);puts(""))for(scanf(n%3?n=1,"%f":n%2?n=3,"%Lf":(n=2,"%lf"),x);n--;printf("%0*x",n-2?8:4,x[n]))*x-=x[1]>>27^-7?0:*x%2?:-1;}

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

download

return to the top page