/guava/guava/src/com/google/common/math/DoubleMath.java
if ( x <= 0.0) {
if ( x <= 0.0 || isMathematicalInteger ( x ) ) {
if (x >= 0.0 || isMathematicalInteger(x)) { return x; } else { return (long) x - 1; } case CEILING: <extra_id_0> return x; } else { return (long) x + 1; } case DOWN: return x;