Lines Matching full:denom
208 void Sk64::div(int32_t denom, DivOptions option)
210 SkASSERT(denom);
214 int sign = denom ^ hi;
216 denom = SkAbs32(denom);
223 if (option == kRound_DivOption) // add denom/2
225 uint32_t newLo = lo + (denom >> 1);
232 if (lo < (uint32_t)denom)
236 this->set(0, lo / denom);
246 int dbits = SkCLZ(denom);
256 denom <<= (dbits - 1);
266 if ((uint32_t)denom <= (uint32_t)hi)
268 hi -= denom;
272 int32_t diff = (denom - hi - 1) >> 31;
273 hi -= denom & diff;
326 SkFixed Sk64::getFixedDiv(const Sk64& denom) const
329 Sk64 D = denom;