mikroC
making it simple...
ANSI C Math Library
mikroC provides a set of standard ANSI C library functions for floating point
math handling.
Note: Functions have been implemented according to the ANSI C standard, but
certain functions have been modified in order to facilitate PIC programming.
Library Routines
acos
asin
atan
atan2
ceil
cos
cosh
exp
fabs
floor
frexp
ldexp
log
log10
modf
pow
sin
sinh
sqrt
tan
tanh
acos
Prototype
double acos(double x);
Description
Function returns the arc cosine of parameter
Input parameter
between 0 and pi (inclusive).
MikroElektronika: Development tools - Books - Compilers
mikroC - C Compiler for Microchip PIC microcontrollers
must be between -1 and 1 (inclusive). The return value is in radians,
x
; that is, the value whose cosine is
x
.
x
page
285
Need help?
Do you have a question about the PIC Microcontrollers PIC12 and is the answer not in the manual?