/guava/guava/src/com/google/common/math/LongMath.java
roundFloor = ( long) Math.floor( roundFloorAsDouble) ;roundCeiling = ( long) Math.ceil( roundCeilingAsDouble) ;
roundCeiling = ( long ) Math.ceil ( roundCeilingAsDouble ) ;
long roundCeiling; double roundCeilingAsDouble; if (cmpXToRoundArbitrarily >= 0) { roundFloorAsDouble = roundArbitrarily; roundFloor = roundArbitrarilyAsLong; roundCeilingAsDouble = Math.nextUp(roundArbitrarily); <extra_id_0> } else { roundCeilingAsDouble = roundArbitrarily; roundCeiling = roundArbitrarilyAsLong; roundFloorAsDouble = DoubleUtils.nextDown(roundArbitrarily); roundFloor = (long) Math.floor(roundFloorAsDouble); }