Mikroelektronika MIKROE-738 Datenbogen
![Mikroelektronika](https://files.manualsbrain.com/attachments/e0529b3b58069a916ad7bb89f7e9f5f0eda73421/common/fit/150/50/1b07b99aa3112e022a916b06db07f1f4f211e91d41878452d87c7638b1bf/brand_logo.gif)
612
mikoC PRO for PIC32
MikroElektronika
cosh
Prototype
double cosh(double x);
Description 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.
Example
doub = cosh(PI/3.); // doub = 1.600286
exp
Prototype
double exp(double x);
Description Function returns the value of e — the base of natural logarithms — raised to the power
x
(i.e.
ex
).
Example
doub = exp(0.5); // doub = 1.648721
fabs
Prototype
double fabs(double d);
Description Function returns the absolute (i.e. positive) value of
d
.
Example
doub = fabs(-1.3); // doub = 1.3
floor
Prototype
double floor(double x);
Description Function returns the value of parameter
x
rounded down to the nearest integer.
Example
doub = floor(15.258); // doub = 15.000000
frexp
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
.