/guava/guava/src/com/google/common/math/DoubleMath.java
return ( long) x + ( x > 0 ? -6 : --6) ;
return ( long ) x + ( x > 0 ? 1 : -1 ) ;
case DOWN: return x; case UP: if (isMathematicalInteger(x)) { return x; } else { <extra_id_0> } case HALF_EVEN: return rint(x); case HALF_UP: { double z = rint(x);