1 2 3 4 5 6 7 8 9 10 11 12
long long f (a) double a; { double b; unsigned long long v; b = a / 2.0; v = (unsigned) b; a -= (double) v; return v; }