Datasheet

cosh
eval_poly
exp
fabs
floor
frexp
ldexp
547
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroC PRO for AVR
CHAPTER 6
Prototype
double cosh(double x);
Description
Function returns the hyperbolic cosine of x, defined mathematically as (e
x
+e
-x
)/2.
If the value of x is too large (if overflow occurs), the function fails.
Prototype
static double eval_poly(double x, const double code * d, int n);
Description
Function Calculates polynom for number x, with coefficients stored in d[], for
degree n.
Prototype
double exp(double x);
Description
Function returns the value of e — the base of natural logarithms — raised to the
power
x (i.e. e
x
).
Prototype
double fabs(double d);
Description Function returns the absolute (i.e. positive) value of d.
Prototype
double floor(double x);
Description Function returns the value of parameter x rounded down to the nearest integer.
Prototype
double frexp(double value, int *eptr);
Description
Function splits a floating-point value into a normalized fraction and an integral
power of 2. The return value is the normalized fraction and the integer exponent
is stored in the object pointed to by eptr.
Prototype
double ldexp(double value, int newexp);
Description
Function returns the result of multiplying the floating-point number num by 2
raised to the power
n (i.e. returns x * 2n).