Searched refs:ratVal (Results 1 – 2 of 2) sorted by relevance
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
D | CalculatorExpr.java | 310 PreEval(CR val, BoundedRational ratVal, CalculatorExpr expr, in PreEval() argument 313 ratValue = ratVal; in PreEval() 362 ratValue = res.ratVal; in PreEval() 622 public CalculatorExpr abbreviate(CR val, BoundedRational ratVal, in abbreviate() argument 625 Token t = new PreEval(val, ratVal, new CalculatorExpr((ArrayList<Token>) mExpr.clone()), in abbreviate() 639 public final BoundedRational ratVal; // Exact Rational value or null. field in CalculatorExpr.EvalRet 643 ratVal = r; in EvalRet() 722 BoundedRational ratVal; in evalUnary() local 725 ratVal = c.toRational(); in evalUnary() 726 return new EvalRet(i+1, ratVal.CRValue(), ratVal); in evalUnary() [all …]
|
D | Evaluator.java | 201 public final BoundedRational ratVal; // Rational value or null. field in Evaluator.InitialResult 208 ratVal = rv; in InitialResult() 216 ratVal = BoundedRational.ZERO; in InitialResult() 338 if (res.ratVal != null) { in isTooBig() 339 return res.ratVal.wholeNumberBits() > maxBits; in isTooBig() 355 if (BoundedRational.asBigInteger(res.ratVal) == null in doInBackground() 361 final int lsdOffset = getLsdOffset(res.ratVal, initResult, in doInBackground() 369 return new InitialResult(res.val, res.ratVal, in doInBackground() 400 mRatVal = result.ratVal; in onPostExecute() 554 int getLsdOffset(BoundedRational ratVal, String cache, int decIndex) { in getLsdOffset() argument [all …]
|