mikroC

making it simple...

ldiv

mikroC - C Compiler for Microchip PIC microcontrollers

Prototype

ldiv_t ldiv(long numer, long denom);

Description Function is similar to the div function, except that the arguments and the result structure members all have type long.

Function computes the result of the division of the numerator numer by the denominator denom; function returns a structure of type div_t comprising quotient (quot) and remainder (rem).

labs

Prototype

long labs(long num);

Description Function returns the absolute (i.e. positive) value of a long integer num.

max

Prototype

int max(int a, int b);

Description Function returns greater of the two integers, a and b.

min

Prototype

int min(int a, int b);

Description Function returns lower of the two integers, a and b.

 

 

page

 

MikroElektronika: Development tools - Books - Compilers

293