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