Go to the first, previous, next, last section, table of contents.


idiv, irem

idiv(i1,i2)
:: Integer quotient of i1 divided by i2.
irem(i1,i2)
:: Integer remainder of i1 divided by i2.
return
integer
i1,i2
integer
[0] idiv(100,7);
14
[0] idiv(-100,7);
-14
[1] irem(100,7);
2
[1] irem(-100,7);
-2
References
section sdiv, sdivm, srem, sremm, sqr, sqrm, section %.


Go to the first, previous, next, last section, table of contents.