Searched refs:mNumerator (Results 1 – 6 of 6) sorted by relevance
84 private final int mNumerator; field in Rational118 mNumerator = 1; // +Inf in Rational()121 mNumerator = -1; // -Inf in Rational()124 mNumerator = 0; // NaN in Rational()127 mNumerator = 0; in Rational()132 mNumerator = numerator / gcd; in Rational()144 return mNumerator; in getNumerator()169 return mDenominator == 0 && mNumerator == 0; in isNaN()181 return mNumerator != 0 && mDenominator == 0; in isInfinite()206 return isFinite() && mNumerator == 0; in isZero()[all …]
25 private final long mNumerator; field in Rational35 mNumerator = nominator; in Rational()43 mNumerator = r.mNumerator; in Rational()51 return mNumerator; in getNumerator()66 return mNumerator / (double) mDenominator; in toDouble()79 return mNumerator == data.mNumerator && mDenominator == data.mDenominator; in equals()86 return mNumerator + "/" + mDenominator; in toString()
30 if (mNumerator < prime || mDenominator < prime) { in reduce()36 int top = mNumerator / prime; in reduce()40 && (top * prime == mNumerator) // divided evenly? in reduce()42 mNumerator = top; in reduce()
32 : mNumerator(numerator), mDenominator(denominator) {} in IntegerRatio()40 return mNumerator; in getNumerator()48 int32_t mNumerator;
228 mIntegerPhase += mNumerator; in advanceRead()262 int32_t mNumerator = 0; variable
41 mNumerator = ratio.getNumerator(); in MultiChannelResampler()