Datasheet
log
log10
modf
pow
sin
sinh
sqrt
548
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroC PRO for AVR
CHAPTER 6
Prototype
double log(double x);
Description
Function returns the natural logarithm of x (i.e. log
e
(x)).
Prototype
double log10(double x);
Description
Function returns the base-10 logarithm of x (i.e. log
10
(x)).
Prototype
double modf(double val, double * iptr);
Description
Returns argument val split to the fractional part (function return val) and integer
part (in number iptr).
Prototype
double pow(double x, double y);
Description
Function returns the value of x raised to the power y (i.e. x
y
). If x is negative,
the function will automatically cast y into unsigned long.
Prototype
double sin(double f);
Description Function returns the sine of f in radians. The return value is from -1 to 1.
Prototype
double sinh(double x);
Description
Function returns the hyperbolic sine 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
double sqrt(double x);
Description Function returns the non negative square root of x.