OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:roundToInt
(Results
1 - 3
of
3
) sorted by null
/external/guava/guava/src/com/google/common/math/
DoubleMath.java
111
public static int
roundToInt
(double x, RoundingMode mode) {
/external/guava/guava-tests/test/com/google/common/math/
DoubleMathTest.java
80
assertEquals(expected.intValue(), DoubleMath.
roundToInt
(d, mode));
97
assertEquals(expected.intValue(), DoubleMath.
roundToInt
(d, mode));
113
assertEquals(expected.intValue(), DoubleMath.
roundToInt
(d, UNNECESSARY));
124
DoubleMath.
roundToInt
(d, UNNECESSARY);
133
DoubleMath.
roundToInt
(Double.NaN, mode);
142
DoubleMath.
roundToInt
(Double.POSITIVE_INFINITY, mode);
146
DoubleMath.
roundToInt
(Double.NEGATIVE_INFINITY, mode);
/prebuilt/common/tradefed/
tradefed-prebuilt.jar
Completed in 30 milliseconds