Home
last modified time | relevance | path

Searched refs:ALL_ROUNDING_MODES (Results 1 – 5 of 5) sorted by relevance

/external/guava/guava-tests/test/com/google/common/math/
DIntMathTest.java20 import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
99 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testLog2ZeroAlwaysThrows()
110 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testLog2NegativeAlwaysThrows()
146 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testLog10ZeroAlwaysThrows()
157 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testLog10NegativeAlwaysThrows()
195 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testLog10TrivialOnPowerOfTen()
203 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testSqrtZeroAlwaysZero()
290 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testZeroDivIsAlwaysZero()
299 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testDivByZeroAlwaysFails()
DBigIntegerMathTest.java20 import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
68 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testLog2ZeroAlwaysThrows()
78 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testLog2NegativeAlwaysThrows()
155 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testLog10ZeroAlwaysThrows()
165 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testLog10NegativeAlwaysThrows()
243 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testLog10TrivialOnPowerOf10()
249 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testSqrtZeroAlwaysZero()
256 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testSqrtNegativeAlwaysThrows()
372 for (RoundingMode mode : ALL_ROUNDING_MODES) {
380 for (RoundingMode mode : ALL_ROUNDING_MODES) {
DLongMathTest.java21 import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
140 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testLog2ZeroAlwaysThrows()
150 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testLog2NegativeAlwaysThrows()
184 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testLog10ZeroAlwaysThrows()
194 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testLog10NegativeAlwaysThrows()
228 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testLog10TrivialOnPowerOf10()
235 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testSqrtNegativeAlwaysThrows()
309 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testZeroDivIsAlwaysZero()
317 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testDivByZeroAlwaysFails()
DDoubleMathTest.java20 import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
131 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testRoundNaNToIntAlwaysFails()
140 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testRoundInfiniteToIntAlwaysFails()
212 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testRoundNaNToLongAlwaysFails()
221 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testRoundInfiniteToLongAlwaysFails()
268 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testRoundNaNToBigIntegerAlwaysFails()
277 for (RoundingMode mode : ALL_ROUNDING_MODES) { in testRoundInfiniteToBigIntegerAlwaysFails()
354 for (RoundingMode mode : ALL_ROUNDING_MODES) {
366 for (RoundingMode mode : ALL_ROUNDING_MODES) {
DMathTesting.java48 static final ImmutableSet<RoundingMode> ALL_ROUNDING_MODES = ImmutableSet.copyOf(RoundingMode field in MathTesting