Lines Matching refs:nDiv
696 long BigMulDiv(long nVal, long nMul, long nDiv) in BigMulDiv() argument
700 if (aVal.IsNeg()!=(nDiv<0)) { in BigMulDiv()
701 aVal-=nDiv/2; // fuer korrektes Runden in BigMulDiv()
703 aVal+=nDiv/2; // fuer korrektes Runden in BigMulDiv()
705 if(nDiv) in BigMulDiv()
707 aVal/=nDiv; in BigMulDiv()
716 sal_Int32 nDiv=rF.GetDenominator(); in Kuerzen() local
719 if (nDiv<0) { nDiv=-nDiv; bNeg=!bNeg; } in Kuerzen()
720 if (nMul==0 || nDiv==0) return; in Kuerzen()
725 a=sal_uInt32(nDiv); unsigned nDivZ=0; // Fuehrende Nullen zaehlen in Kuerzen()
736 nDiv>>=nWeg; in Kuerzen()
737 if (nMul==0 || nDiv==0) { in Kuerzen()
742 rF=Fraction(nMul,nDiv); in Kuerzen()