On Sun, 14 Apr 2019 10:52:59 +0530 <pbhagavat...@marvell.com> wrote: > + int64_t i; Since i only does 1..64 it can be int.
> + uint64_t t; > + > + for (i = 1; i <= 64; i++) { > + t = x >> 63; > + x = (x << 1) | (y >> 63); > + y = y << 1; > + if ((x | t) >= z) { > + x = x - z; > + y = y + 1;