Performs compile time calculation of the division of integral values, specified, together with specific type, as the template arguments. The result is a pair of a quotient and a remainder. More...
#include <chsvmath.h>
Static Public Attributes | |
| static const int_t | quotient = Dividend / Divisor |
| Quotient. | |
| static const int_t | remainder = Dividend % Divisor |
| Remainder. | |
Performs compile time calculation of the division of integral values, specified, together with specific type, as the template arguments. The result is a pair of a quotient and a remainder.
| int_t | is an integral type of the input and output parameters. |
| Dividend | |
| Divisor |