Mikroelektronika MIKROE-350 Fiche De Données

Page de 526
atan
atan2
ceil
cos
cosh
eval_poly
486
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub function atan(dim arg as realas real
Description
The function computes the arc tangent of parameter arg; that is, the value
whose tangent is arg. The return value is in radians, between -
Π
/2 and 
Π
/2
(inclusive).
Prototype
sub function atan2(dim as realdim as realas real
Description
This is the two-argument arc tangent function. It is similar to computing the arc
tangent of y/x, except that the signs of both arguments are used to determine
the quadrant of the result and x is permitted to be zero. The return value is in
radians, between -
Π 
and 
Π
(inclusive).
Prototype
sub function ceil(dim as realas real
Description The function returns value of parameter 
x
rounded up to the next whole number.
Prototype
sub function cos(dim arg as realas real
Description The function returns the cosine of 
arg
in radians. The return value is from -1 to 1.
Prototype
sub function cosh(dim as realas real
Description
The function returns the hyperbolic cosine of 
x
, defined mathematically as
(ex+e-x)/2
. If the value of 
x
is too large (if overflow occurs), the function fails.
Prototype
sub function eval_poly(dim as realdim byref as array[10] of
real
dim as integeras real
Description
Function Calculates polynom for number 
x
, with coefficients stored in 
d[]
, for
degree 
n.