Searched refs:mDenominator (Results 1 – 9 of 9) sorted by relevance
84 private final int mDenominator; field in Rational117 mDenominator = 0; in Rational()120 mDenominator = 0; in Rational()123 mDenominator = 0; in Rational()126 mDenominator = 1; in Rational()131 mDenominator = denominator / gcd; in Rational()155 return mDenominator; in getDenominator()167 return mDenominator == 0 && mNumerator == 0; in isNaN()179 return mNumerator != 0 && mDenominator == 0; in isInfinite()192 return mDenominator != 0; in isFinite()[all …]
26 private final long mDenominator; field in Rational36 mDenominator = denominator; in Rational()44 mDenominator = r.mDenominator; in Rational()58 return mDenominator; in getDenominator()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()37 int bottom = mDenominator / prime; in reduce()41 && (bottom * prime == mDenominator)) { in reduce()43 mDenominator = bottom; in reduce()
32 : mNumerator(numerator), mDenominator(denominator) {} in IntegerRatio()44 return mDenominator; in getDenominator()49 int32_t mDenominator; variable
167 return mIntegerPhase >= mDenominator; in isWriteNeeded()221 mIntegerPhase -= mDenominator; in advanceWrite()256 int32_t mDenominator = 0; variable
42 mDenominator = ratio.getDenominator(); in MultiChannelResampler()43 mIntegerPhase = mDenominator; in MultiChannelResampler()
35 float phase = (float) getIntegerPhase() / mDenominator; in readFrame()
32 int32_t numRows = mDenominator; in PolyphaseResampler()
28 mPhaseScaler = (double) mNumRows / mDenominator; in SincResampler()