Home | History | Annotate | Download | only in source

Lines Matching refs:factor

73 void dng_srational::ReduceByFactor (int32 factor)
76 while (n % factor == 0 &&
77 d % factor == 0 &&
78 d >= factor)
80 n /= factor;
81 d /= factor;
137 void dng_urational::ReduceByFactor (uint32 factor)
140 while (n % factor == 0 &&
141 d % factor == 0 &&
142 d >= factor)
144 n /= factor;
145 d /= factor;