Home
last modified time | relevance | path

Searched refs:checkInRange (Results 1 – 3 of 3) sorted by relevance

/external/guava/guava/src/com/google/common/math/
DDoubleMath.java26 import static com.google.common.math.MathPreconditions.checkInRange;
133 checkInRange(z > MIN_INT_AS_DOUBLE - 1.0 & z < MAX_INT_AS_DOUBLE + 1.0); in roundToInt()
157 checkInRange(MIN_LONG_AS_DOUBLE - z < 1.0 & z < MAX_LONG_AS_DOUBLE_PLUS_ONE); in roundToLong()
DMathPreconditions.java85 static void checkInRange(boolean condition) { in checkInRange() method in MathPreconditions
/external/guava/guava-tests/test/com/google/common/math/
DMathPreconditionsTest.java248 MathPreconditions.checkInRange(true); in testCheckInRange_success()
253 MathPreconditions.checkInRange(false); in testCheckInRange_failure()