lldiv.c

The libc implementation

Author

Martin ‘Solar’ Baute

License

Public Domain

Summary
lldiv.cThe libc implementation
Functions
lldivPerforms a division on long longs both the quotient and remainder are stored in a lldiv_t (_PDCLIB_lldiv_t) struct
Todo’s
pre-C99 compilers might require modulus corrections

Functions

lldiv

lldiv_t lldiv(long long int numer,
long long int denom)

Performs a division on long longs both the quotient and remainder are stored in a lldiv_t (_PDCLIB_lldiv_t) struct

Todo’s

pre-C99 compilers might require modulus corrections

lldiv_t lldiv(long long int numer,
long long int denom)
Performs a division on long longs both the quotient and remainder are stored in a lldiv_t (_PDCLIB_lldiv_t) struct
struct _PDCLIB_lldiv_t
prototype of the lldiv_t type