Searched refs:exponentEnd (Results 1 – 3 of 3) sorted by relevance
/packages/apps/ExactCalculator/tests/src/com/android/calculator2/ |
D | EvaluatorTest.java | 53 check(Evaluator.exponentEnd("xE-2%3", 1) == 4, "exponentEnd(xE-2%3)"); in testExponentEnd() 54 check(Evaluator.exponentEnd("xE+2%3", 1) == 1, "exponentEnd(xE+2%3)"); in testExponentEnd() 55 check(Evaluator.exponentEnd("xe2%3", 1) == 1, "exponentEnd(xe2%3)"); in testExponentEnd() 56 check(Evaluator.exponentEnd("xE123%3", 1) == 5, "exponentEnd(xE123%3)"); in testExponentEnd() 57 check(Evaluator.exponentEnd("xE123456789%3", 1) == 1, "exponentEnd(xE123456789%3)"); in testExponentEnd()
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
D | Evaluator.java | 1122 public static int exponentEnd(String s, int offset) { in exponentEnd() method in Evaluator
|
D | Calculator.java | 949 (expEnd = Evaluator.exponentEnd(moreChars, current))) { in addChars()
|