Home
last modified time | relevance | path

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

/packages/apps/ExactCalculator/src/com/android/calculator2/
DBoundedRational.java41 private final BigInteger mDen; field in BoundedRational
45 mDen = d; in BoundedRational()
50 mDen = BigInteger.ONE; in BoundedRational()
55 mDen = BigInteger.valueOf(d); in BoundedRational()
60 mDen = BigInteger.valueOf(1); in BoundedRational()
68 return mNum.toString() + "/" + mDen.toString(); in toString()
79 if (!nicer.mDen.equals(BigInteger.ONE)) { in toNiceString()
80 result += "/" + nicer.mDen; in toNiceString()
97 return mNum.doubleValue() / mDen.doubleValue(); in doubleValue()
101 return CR.valueOf(mNum).divide(CR.valueOf(mDen)); in CRValue()
[all …]