/guava/android/guava/src/com/google/common/math/LongMath.java
roundFloorAsDouble = DoubleUtils.nextDown( roundArbitrarily) ; roundCeiling = roundArbitrarilyAsLong;
roundCeiling = roundArbitrarilyAsLong; roundFloorAsDouble = DoubleUtils.nextDown ( roundArbitrarily ) ;
roundFloorAsDouble = roundArbitrarily; roundFloor = roundArbitrarilyAsLong; roundCeilingAsDouble = Math.nextUp(roundArbitrarily); roundCeiling = (long) Math.ceil(roundCeilingAsDouble); } else { roundCeilingAsDouble = roundArbitrarily; <extra_id_0> roundFloor = (long) Math.floor(roundFloorAsDouble); } long deltaToFloor = x - roundFloor; long deltaToCeiling = roundCeiling - x; if (roundCeiling == Long.MAX_VALUE) { deltaToCeiling++;