private static int SLOW_INTEGER_FIX(double x) { return (int)(x * (1 << SLOW_INTEGER_CONST_BITS) + 0.5); }