Searched refs:nD2 (Results 1 – 4 of 4) sorted by relevance
/trunk/main/tools/source/generic/ |
H A D | fract.cxx | 134 Fraction::Fraction( long nN1, long nN2, long nD1, long nD2 ) in Fraction() argument 142 if( nD2 < 0 ) { i = -i; nD2 = -nD2; } in Fraction() 145 n = GetGGT( nN1, nD2 ); if( n > 1 ) { nN1 /= n; nD2 /= n; } in Fraction() 147 n = GetGGT( nN2, nD2 ); if( n > 1 ) { nN2 /= n; nD2 /= n; } in Fraction() 153 nD *= BigInt( nD2 ); in Fraction()
|
/trunk/main/vcl/source/gdi/ |
H A D | outmap.cxx | 75 static Fraction ImplMakeFraction( long nN1, long nN2, long nD1, long nD2 ) in ImplMakeFraction() argument 82 if ( nD2 < 0 ) { i = -i; nD2 = -nD2; } in ImplMakeFraction() 86 aF *= Fraction( nN2, nD2 ); in ImplMakeFraction() 88 …if( nD1 == 0 || nD2 == 0 ) //under these bad circumstances the following while loop will be endless in ImplMakeFraction() 100 if ( nD1 > nD2 ) in ImplMakeFraction() 103 nD2 = (nD2 + 1) / 2; in ImplMakeFraction() 106 aF *= Fraction( nN2, nD2 ); in ImplMakeFraction()
|
/trunk/main/tools/inc/tools/ |
H A D | fract.hxx | 44 Fraction( long nN1, long nN2, long nD1, long nD2 );
|
/trunk/main/scaddins/source/analysis/ |
H A D | analysishelper.cxx | 428 sal_uInt16 nD1, nM1, nY1, nD2, nM2, nY2; in GetDiffDate() local 434 DaysToDate( nEndDate, nD2, nM2, nY2 ); in GetDiffDate() 440 nDays = nD2 - nD1; in GetDiffDate()
|
Completed in 63 milliseconds