Loading...
Select Version
&pagelevel(4)&pagelevel
Syntax | #include <stdlib.h> ldiv_t ldiv(long int dividend, long int divisor); |
Description |
Both the arguments and the result are of type The sign of the quotient is the same as the sign of the algebraic quotient. The value of the equotient is the highest integer less than or equal to the absolute value of the algebraic quotient. The remainder is expressed by the following equation: Quotient * Divisor + Remainder = Dividend |
Return val. | Structure of type if successful. The structure includes the quotient |
See also |
|