Next: Other <code>poly_int</code> arithmetic, Previous: <code>wi</code> arithmetic on <code>poly_int</code>s, Up: Arithmetic on <code>poly_int</code>s
poly_int
sDivision of poly_int
s is possible for certain inputs. The functions
for division return true if the operation is possible and in most cases
return the results by pointer. The routines are:
multiple_p
, but also test whether the multiple is a
compile-time constant.
Note that this is true if and only if can_div_trunc_p
is true.
The only difference is in the rounding of the result.
There is also an asserting form of division:
poly_int
if a
is a poly_int
.