Searched refs:digitsRequired (Results 1 – 3 of 3) sorted by relevance
148 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()
600 static int digitsRequired(BoundedRational r) { in digitsRequired() method in BoundedRational
556 int result = BoundedRational.digitsRequired(ratVal); in getLsdOffset()