User manual
698
mikoC PRO for dsPIC
MikroElektronika
sqrt
Prototype
double sqrt(double x);
Description Function returns the non negative square root of x.
Example
doub = sqrt(10000.); // doub = 100.0000
tan
Prototype
double tan(double x);
Description Function returns the tangent of x in radians. The return value spans the allowed range of oating point
in the mikroC PRO for dsPIC30/33 and PIC24.
Example
doub = tan(PI/4.); // doub = 0.999998
tanh
Prototype
double tanh(double x);
Description Function returns the hyperbolic tangent of x, dened mathematically as sinh(x)/cosh(x).
Example
doub = tanh(-PI/4.); // doub = -0.655793










