Home
last modified time | relevance | path

Searched refs:mnDenominator (Results 1 – 2 of 2) sorted by relevance

/trunk/main/writerfilter/source/resourcemodel/
H A DFraction.cxx80 init(a.mnNumerator * b.mnDenominator, a.mnDenominator * b.mnNumerator); in Fraction()
92 mnDenominator = nDenominator / nGCD; in init()
97 init(rFraction.mnNumerator, rFraction.mnDenominator); in assign()
102 return Fraction(mnDenominator, mnNumerator); in inverse()
107 sal_uInt32 nLCM = lcm(mnDenominator, rFraction.mnDenominator); in operator +()
109 …return Fraction(mnNumerator * nLCM / mnDenominator + rFraction.mnNumerator * nLCM / rFraction.mnDe… in operator +()
114 sal_uInt32 nLCM = lcm(mnDenominator, rFraction.mnDenominator); in operator -()
116 …return Fraction(mnNumerator * nLCM / mnDenominator - rFraction.mnNumerator * nLCM / rFraction.mnDe… in operator -()
121 return Fraction(mnNumerator * rFraction.mnNumerator, mnDenominator * rFraction.mnDenominator); in operator *()
138 return mnNumerator / mnDenominator; in operator sal_Int32()
[all …]
/trunk/main/writerfilter/inc/resourcemodel/
H A DFraction.hxx53 sal_Int32 mnDenominator; member in writerfilter::resourcemodel::Fraction

Completed in 15 milliseconds