ldiv.c

The libc implementation

Author

Martin ‘Solar’ Baute

License

Public Domain

Summary
ldiv.cThe libc implementation
Functions
ldivPerforms 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

Functions

ldiv

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

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
struct _PDCLIB_ldiv_t
prototype of the ldiv_t type