Fast rounding doesn't work for negative values, so use Math.round() where we might encounter negative values. Use Math.floor() and ceil() for rounding down and up, respectively. Bug: 25695621 Change-Id: I94831b8eb7552fc24cbe5808e923de1674d8ba6d
Fast rounding doesn't work for negative values, so use Math.round() where we might encounter negative values. Use Math.floor() and ceil() for rounding down and up, respectively. Bug: 25695621 Change-Id: I94831b8eb7552fc24cbe5808e923de1674d8ba6d