Datasheet
MATH LIBRARY
The mikroPascal PRO for AVR provides a set of library functions for floating point math handling.
See also Predefined Globals and Constants for the list of predefined math constants.
Library Functions
- acos
- asin
- atan
- atan2
- ceil
- cos
- cosh
- eval_poly
- exp
- fabs
- floor
- frexp
- ldexp
- log
- log10
- modf
- pow
- sin
- sinh
- sqrt
- tan
- tanh
acos
asin
492
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
function acos(x : real) : real;
Description
The function returns the arc cosine of parameter x; that is, the value whose
cosine is x. The input parameter x must be between -1 and 1 (inclusive). The
return value is in radians, between 0 and đ (inclusive).
Prototype
function asin(x : real) : real;
Description
The function returns the arc sine of parameter x; that is, the value whose sine is
x. The input parameter x must be between -1 and 1 (inclusive). The return value
is in radians, between -đ/2 and đ/2 (inclusive).