(1) int round(var x) { return (int)(x + 0.5*sign(x)); }

(2) int i = x; short s = x;