Home
last modified time | relevance | path

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

/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorExpr.java119 private int mExponent; // Explicit exponent, only generated through addExponent. field in CalculatorExpr.Constant
125 mExponent = 0; in Constant()
132 mExponent = in.readInt(); in Constant()
141 out.writeInt(mExponent); in write()
151 if (mSawDecimal || mExponent != 0) return false; in add()
156 if (mExponent != 0) { in add()
157 if (Math.abs(mExponent) <= 10000) { in add()
158 if (mExponent > 0) { in add()
159 mExponent = 10 * mExponent + val; in add()
161 mExponent = 10 * mExponent - val; in add()
[all …]