Home
last modified time | relevance | path

Searched refs:nN2 (Results 1 – 3 of 3) 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
140 if( nN2 < 0 ) { i = -i; nN2 = -nN2; } in Fraction()
146 n = GetGGT( nN2, nD1 ); if( n > 1 ) { nN2 /= n; nD1 /= n; } in Fraction()
147 n = GetGGT( nN2, nD2 ); if( n > 1 ) { nN2 /= n; nD2 /= n; } in Fraction()
150 nN *= BigInt( nN2 ); 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
80 if ( nN2 < 0 ) { i = -i; nN2 = -nN2; } in ImplMakeFraction()
86 aF *= Fraction( nN2, nD2 ); in ImplMakeFraction()
96 if ( nN1 > nN2 ) in ImplMakeFraction()
99 nN2 = (nN2 + 1) / 2; in ImplMakeFraction()
106 aF *= Fraction( nN2, nD2 ); in ImplMakeFraction()
/aoo41x/main/tools/inc/tools/
H A Dfract.hxx44 Fraction( long nN1, long nN2, long nD1, long nD2 );

Completed in 32 milliseconds