Searched refs:mDenominator (Results 1 – 9 of 9) sorted by relevance
86 private final int mDenominator; field in Rational119 mDenominator = 0; in Rational()122 mDenominator = 0; in Rational()125 mDenominator = 0; in Rational()128 mDenominator = 1; in Rational()133 mDenominator = denominator / gcd; in Rational()157 return mDenominator; in getDenominator()169 return mDenominator == 0 && mNumerator == 0; in isNaN()181 return mNumerator != 0 && mDenominator == 0; in isInfinite()194 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
170 return mIntegerPhase >= mDenominator; in isWriteNeeded()224 mIntegerPhase -= mDenominator; in advanceWrite()263 int32_t mDenominator = 0; variable
42 mDenominator = ratio.getDenominator(); in MultiChannelResampler()43 mIntegerPhase = mDenominator; // so we start with a write needed in MultiChannelResampler()
35 float phase = (float) getIntegerPhase() / mDenominator; in readFrame()
32 int32_t numRows = mDenominator; in PolyphaseResampler()
29 mPhaseScaler = (double) numRowsNoGuard / mDenominator; in SincResampler()