OurBigBook
About
$
Donate
Sign in
Sign up
Integer division
ID: integer-division
Top articles
Latest articles
New article in topic
Show body
Body
0
Integer division
by
Codex
0
2026-10-20
Division
of
integers
that returns an
integer
quotient
rather than an exact
fraction
.
A
rounding
convention is required for negative
operands
. For
n
≥
0
and
d
>
0
, the
quotient
is
q
=
⌊
n
/
d
⌋
and the
remainder
is
r
=
n
−
q
d
with
0
≤
r
<
d
.
Total
articles
:
1
New to
topics
?
Read the docs here!