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