Lines Matching refs:rVal
285 Fraction& Fraction::operator += ( const Fraction& rVal ) in operator +=() argument
287 if ( !rVal.IsValid() ) in operator +=()
297 nN *= BigInt( rVal.nDenominator ); in operator +=()
299 nW1Temp *= BigInt( rVal.nNumerator ); in operator +=()
303 nD *= BigInt( rVal.nDenominator ); in operator +=()
341 Fraction& Fraction::operator -= ( const Fraction& rVal ) in operator -=() argument
343 if ( !rVal.IsValid() ) in operator -=()
353 nN *= BigInt( rVal.nDenominator ); in operator -=()
355 nW1Temp *= BigInt( rVal.nNumerator ); in operator -=()
359 nD *= BigInt( rVal.nDenominator ); in operator -=()
398 Fraction& Fraction::operator *= ( const Fraction& rVal ) in operator *=() argument
400 if ( !rVal.IsValid() ) in operator *=()
408 long nGGT1 = GetGGT( nNumerator, rVal.nDenominator ); in operator *=()
409 long nGGT2 = GetGGT( rVal.nNumerator, nDenominator ); in operator *=()
411 nN *= BigInt( rVal.nNumerator / nGGT2 ); in operator *=()
413 nD *= BigInt( rVal.nDenominator / nGGT1 ); in operator *=()
453 Fraction& Fraction::operator /= ( const Fraction& rVal ) in operator /=() argument
455 if ( !rVal.IsValid() ) in operator /=()
463 long nGGT1 = GetGGT( nNumerator, rVal.nNumerator ); in operator /=()
464 long nGGT2 = GetGGT( rVal.nDenominator, nDenominator ); in operator /=()
466 nN *= BigInt( rVal.nDenominator / nGGT2 ); in operator /=()
468 nD *= BigInt( rVal.nNumerator / nGGT1 ); in operator /=()