bit/div.fjΒΆ
MacrosΒΆ
bitΒΆ
bit.div10βdst[:n], src[:n] = src[:n] / 10, src[:n] % 10.bit.idivβ @NOTE: a,b are SIGNED numbers. If you want a division with unsigned ints, use the div macro.bit.divβ @NOTE: a,b are UNSIGNED numbers. If you want a division with signed ints, use the idiv macro.bit.idiv_loopβ @NOTE: a,b are SIGNED numbers. If you want a division with unsigned ints, use the div_loop macro.bit.div_loopβ @NOTE: a,b are UNSIGNED numbers. If you want a division with signed ints, use the idiv_loop macro.
bit.div10ΒΆ
bit.div10.cmp_sub_10β forval4:val[3,2,1,0] of length 5, and Assumes val <= 19.
bit.divΒΆ
bit.div.div_stepβ R,D arebit[:n], while R,N are bits.