Lines Matching refs:nDenominator
170 nDenominator = (long)nD; in Fraction()
192 nDenominator = nDen; in Fraction()
193 if ( nDenominator < 0 ) in Fraction()
195 nDenominator = -nDenominator; in Fraction()
200 long n = GetGGT( nNumerator, nDenominator ); in Fraction()
202 nDenominator /= n; in Fraction()
229 nDenominator = -1; in Fraction()
239 nDenominator = nDen; in Fraction()
242 long n = GetGGT( nNumerator, nDenominator ); in Fraction()
244 nDenominator /= n; in Fraction()
259 if ( nDenominator > 0 )
260 return (double)nNumerator / (double)nDenominator;
290 nDenominator = -1; in operator +=()
297 nN *= BigInt( rVal.nDenominator ); in operator +=()
298 BigInt nW1Temp( nDenominator ); in operator +=()
302 BigInt nD( nDenominator ); in operator +=()
303 nD *= BigInt( rVal.nDenominator ); in operator +=()
310 nDenominator = -1; in operator +=()
315 nDenominator = (long)nD; in operator +=()
346 nDenominator = -1; in operator -=()
353 nN *= BigInt( rVal.nDenominator ); in operator -=()
354 BigInt nW1Temp( nDenominator ); in operator -=()
358 BigInt nD( nDenominator ); in operator -=()
359 nD *= BigInt( rVal.nDenominator ); in operator -=()
366 nDenominator = -1; in operator -=()
371 nDenominator = (long)nD; in operator -=()
403 nDenominator = -1; in operator *=()
408 long nGGT1 = GetGGT( nNumerator, rVal.nDenominator ); in operator *=()
409 long nGGT2 = GetGGT( rVal.nNumerator, nDenominator ); in operator *=()
412 BigInt nD( nDenominator / nGGT2 ); in operator *=()
413 nD *= BigInt( rVal.nDenominator / nGGT1 ); in operator *=()
418 nDenominator = -1; in operator *=()
423 nDenominator = (long)nD; in operator *=()
458 nDenominator = -1; in operator /=()
464 long nGGT2 = GetGGT( rVal.nDenominator, nDenominator ); in operator /=()
466 nN *= BigInt( rVal.nDenominator / nGGT2 ); in operator /=()
467 BigInt nD( nDenominator / nGGT2 ); in operator /=()
473 nDenominator = -1; in operator /=()
478 nDenominator = (long)nD; in operator /=()
479 if ( nDenominator < 0 ) in operator /=()
481 nDenominator = -nDenominator; in operator /=()
584 if ( !nNumerator || !nDenominator ) in ReduceInaccurate()
590 unsigned long nDiv = (unsigned long)( nDenominator ); in ReduceInaccurate()
620 nDenominator = nDiv; in ReduceInaccurate()
639 && rVal1.nDenominator == rVal2.nDenominator; in operator ==()
665 nN *= BigInt( rVal2.nDenominator ); in operator <()
666 BigInt nD( rVal1.nDenominator ); in operator <()
695 nN *= BigInt( rVal2.nDenominator ); in operator >()
696 BigInt nD( rVal1.nDenominator); in operator >()
714 rIStream >> rFract.nDenominator; in operator >>()
730 rOStream << rFract.nDenominator; in operator <<()