Abl-electronic PIC Microcontrollers PIC16 Uživatelský manuál Strana 301

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 312
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 300
MikroElektronika:
Development
tools
-
Books
-
Compilers
293
page
mikroC
- C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
Prototype
ldiv_t ldiv(long numer, long denom);
Description Function is similar to the div function, except that the arguments and the result struc-
ture 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).
ldiv
Prototype
long labs(long num);
Description Function returns the absolute (i.e. positive) value of a long integer num.
labs
Prototype
int max(int a, int b);
Description Function returns greater of the two integers, a and b.
max
Prototype
int min(int a, int b);
Description Function returns lower of the two integers, a and b.
min
Zobrazit stránku 300
1 2 ... 296 297 298 299 300 301 302 303 304 305 306 ... 311 312

Komentáře k této Příručce

Žádné komentáře