Ansi C Stdlib Library - mikroElektronika PIC Microcontrollers PIC12 User Manual

Mikroc user's manual
Table of Contents

Advertisement

mikroC
making it simple...

ANSI C Stdlib Library

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.
Library Routines
abs
atof
atoi
atol
div
ldiv
labs
max
min
rand
srand
xtoi
abs
Prototype
int abs(int num);
Description
Function returns the absolute (i.e. positive) value of
atof
Prototype
double atof(char *s)
Description
Function converts the input string
Input string
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).
MikroElektronika: Development tools - Books - Compilers
mikroC - C Compiler for Microchip PIC microcontrollers
into a double precision value, and returns the value.
s
should conform to the floating point literal format, with an optional white-
s
.
num
page
291

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PIC Microcontrollers PIC12 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Pic microcontrollers pic16Pic microcontrollers pic18

Table of Contents