The libc implementation
Martin ‘Solar’ Baute
Public Domain
| div.c | The libc implementation |
| Functions | |
| div | Performs a division on integers both the quotient and remainder are stored in a div_t (_PDCLIB_div_t) struct |
| Todo’s | |
| pre-C99 compilers might require modulus corrections |
div_t div( int numer, int denom )
Performs a division on integers both the quotient and remainder are stored in a div_t (_PDCLIB_div_t) struct
Performs a division on integers both the quotient and remainder are stored in a div_t (_PDCLIB_div_t) struct
div_t div( int numer, int denom )
prototype of the div_t type
struct _PDCLIB_div_t