Mikroelektronika MIKROE-350 Data Sheet

Page of 526
MATH LIBRARY
The mikroBasic 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
485
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub function acos(dim as realas 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
sub function asin(dim x as real) as 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).