User manual
mikroC PRO for dsPIC
MikroElektronika
697
modf
Prototype
double modf(double val, double *iptr);
Description Function returns the signed fractional component of val, placing its whole number component into the
variable pointed to by iptr.
Example
doub = modf(6.25, &iptr); // doub = 0.25, iptr = 6.00
pow
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.
Example
doub = pow(10.,5.); // doub = 9.999984e+4
sin
Prototype
double sin(double f);
Description Function returns the sine of f in radians. The return value is from -1 to 1.
Example
doub = sin(PI/2.); // doub = 1.000000
sinh
Prototype
double sinh(double x);
Description Function returns the hyperbolic sine of x, dened mathematically as (e
x
-e
-x
)/2. If the value of x is
too large (if overow occurs), the function fails.
Example
doub = sinh(PI/2.); // doub = 2.301296










