|
Embedded Artistry Framework
Embedded Systems C++ Framework
|
#include <stdlib.h>
Functions | |
| div_t | div (int num, int denom) |
| Computes both the quotient and the remainder of the division of the numerator x by the denominator y. More... | |
| div_t div | ( | int | x, |
| int | y | ||
| ) |
Computes both the quotient and the remainder of the division of the numerator x by the denominator y.
Computes both the quotient and the remainder of the division of the numerator x by the denominator y.
| x | integer values |
| y | integer values |
If either the remainder or the quotient cannot be represented, the behavior is undefined.
References r.
Referenced by div_test(), and lldiv_test().

1.8.15