divrem_gt1
Synopsis
Declared in <folly/math/Division.h>
constexpr
result_type
divrem_gt1(
Word const dividend,
Word const divisor) const;
Description
Returns the quotient and remainder of dividend / divisor, optimized for divisors greater than one.
The behavior is undefined unless this instance was constructed with divisor and divisor > 1.
Return Value
The quotient and remainder of dividend / divisor.
Parameters
Name |
Description |
dividend |
The value to divide. |
divisor |
The divisor this calculator was constructed with. |
Created with MrDocs