Abl-electronic PIC Microcontrollers PIC16 Manuel d'utilisateur Page 299

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 312
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 298
mikroC provides a set of standard ANSI C library functions of general utility.
Note: Not all of the standard functions have been included. Functions have been
implemented according to the ANSI C standard, but certain functions have been
modified in order to facilitate PIC programming.
abs
atof
atoi
atol
div
ldiv
labs
max
min
rand
srand
xtoi
MikroElektronika:
Development
tools
-
Books
-
Compilers
291
page
mikroC
- C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
ANSI C Stdlib Library
Library Routines
Prototype
int abs(int num);
Description Function returns the absolute (i.e. positive) value of num.
abs
Prototype
double atof(char *s)
Description Function converts the input string s into a double precision value, and returns the value.
Input string s should conform to the floating point literal format, with an optional white-
space at the beginning. The string will be processed one character at a time, until the
function reaches a character which it doesn’t recognize (this includes a null character).
atof
Vue de la page 298
1 2 ... 294 295 296 297 298 299 300 301 302 303 304 ... 311 312

Commentaires sur ces manuels

Pas de commentaire