Home
last modified time | relevance | path

Searched refs:nD1 (Results 1 – 4 of 4) sorted by relevance

/aoo41x/main/tools/source/generic/
H A Dfract.cxx134 Fraction::Fraction( long nN1, long nN2, long nD1, long nD2 ) in Fraction() argument
141 if( nD1 < 0 ) { i = -i; nD1 = -nD1; } in Fraction()
144 n = GetGGT( nN1, nD1 ); if( n > 1 ) { nN1 /= n; nD1 /= n; } in Fraction()
146 n = GetGGT( nN2, nD1 ); if( n > 1 ) { nN2 /= n; nD1 /= n; } in Fraction()
152 BigInt nD( nD1 ); in Fraction()
/aoo41x/main/vcl/source/gdi/
H A Doutmap.cxx75 static Fraction ImplMakeFraction( long nN1, long nN2, long nD1, long nD2 ) in ImplMakeFraction() argument
81 if ( nD1 < 0 ) { i = -i; nD1 = -nD1; } in ImplMakeFraction()
85 Fraction aF( i*nN1, nD1 ); 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()
101 nD1 = (nD1 + 1) / 2; in ImplMakeFraction()
105 aF = Fraction( i*nN1, nD1 ); in ImplMakeFraction()
/aoo41x/main/tools/inc/tools/
H A Dfract.hxx44 Fraction( long nN1, long nN2, long nD1, long nD2 );
/aoo41x/main/scaddins/source/analysis/
H A Danalysishelper.cxx428 sal_uInt16 nD1, nM1, nY1, nD2, nM2, nY2; in GetDiffDate() local
433 DaysToDate( nStartDate, nD1, nM1, nY1 ); in GetDiffDate()
440 nDays = nD2 - nD1; in GetDiffDate()

Completed in 80 milliseconds