Home
last modified time | relevance | path

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

/packages/apps/ExactCalculator/tests/src/com/android/calculator2/
DBRTest.java148 check(BoundedRational.digitsRequired(BoundedRational.ZERO) == 0, "digitsRequired(0)"); in testBR()
149 check(BoundedRational.digitsRequired(BoundedRational.HALF) == 1, "digitsRequired(1/2)"); in testBR()
150 check(BoundedRational.digitsRequired(BoundedRational.MINUS_HALF) == 1, in testBR()
152 check(BoundedRational.digitsRequired(new BoundedRational(1,-2)) == 1, in testBR()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DBoundedRational.java600 static int digitsRequired(BoundedRational r) { in digitsRequired() method in BoundedRational
DEvaluator.java556 int result = BoundedRational.digitsRequired(ratVal); in getLsdOffset()