Home
last modified time | relevance | path

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

/external/guava/guava/src/com/google/common/math/
DDoubleMath.java63 checkRoundingUnnecessary(isMathematicalInteger(x)); in roundIntermediate()
67 if (x >= 0.0 || isMathematicalInteger(x)) { in roundIntermediate()
74 if (x <= 0.0 || isMathematicalInteger(x)) { in roundIntermediate()
84 if (isMathematicalInteger(x)) { in roundIntermediate()
279 public static boolean isMathematicalInteger(double x) { in isMathematicalInteger() method in DoubleMath
/external/guava/guava-tests/benchmark/com/google/common/math/
DDoubleMathBenchmark.java65 @Benchmark int isMathematicalInteger(int reps) { in isMathematicalInteger() method in DoubleMathBenchmark
69 if (DoubleMath.isMathematicalInteger(doubles[j])) { in isMathematicalInteger()
/external/guava/guava-tests/test/com/google/common/math/
DDoubleMathTest.java435 assertTrue(DoubleMath.isMathematicalInteger(d));
442 assertFalse(DoubleMath.isMathematicalInteger(d));
450 assertFalse(DoubleMath.isMathematicalInteger(d));