Home
last modified time | relevance | path

Searched refs:nN1 (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
139 if( nN1 < 0 ) { i = -i; nN1 = -nN1; } in Fraction()
144 n = GetGGT( nN1, nD1 ); if( n > 1 ) { nN1 /= n; nD1 /= n; } in Fraction()
145 n = GetGGT( nN1, nD2 ); if( n > 1 ) { nN1 /= n; nD2 /= n; } in Fraction()
149 BigInt nN( nN1 ); 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
79 if ( nN1 < 0 ) { i = -i; nN1 = -nN1; } in ImplMakeFraction()
85 Fraction aF( i*nN1, nD1 ); in ImplMakeFraction()
96 if ( nN1 > nN2 ) in ImplMakeFraction()
97 nN1 = (nN1 + 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 );

Completed in 16 milliseconds