mod overloads
Declared in <llvm/ADT/DynamicAPInt.h>
Returns the remainder of LHS divided by RHS.
DynamicAPInt
mod(
DynamicAPInt const& LHS,
DynamicAPInt const& RHS);
» more...
Returns the remainder of the Euclidean division of LHS by RHS. Result is always non-negative.
template<
typename U,
typename V,
typename T = common_sint<U, V>>
constexpr
T
mod(
U Numerator,
V Denominator);
» more...
LHS divided by RHS.| Name | Description |
|---|---|
| LHS | Dividend. |
| RHS | Positive divisor. |
| Numerator | Dividend. |
| Denominator | Divisor; must be positive. |