Searched refs:x_old (Results 1 – 1 of 1) sorted by relevance
1206 APInt x_old(BitWidth, 1); in sqrt() local1213 x_old = x_old.shl(i / 2); in sqrt()1219 x_new = (this->udiv(x_old) + x_old).udiv(two); in sqrt()1220 if (x_old.ule(x_new)) in sqrt()1222 x_old = x_new; in sqrt()1231 APInt square(x_old * x_old); in sqrt()1232 APInt nextSquare((x_old + 1) * (x_old +1)); in sqrt()1234 return x_old; in sqrt()1239 return x_old; in sqrt()1240 return x_old + 1; in sqrt()