User manual
689
mikoPascal PRO for dsPIC30/33 and PIC24
MikroElektronika
tan
Prototype
function tan(x : real) : real;
Description Function returns the tangent of x in radians. The return value spans the allowed range of oating point
in the mikroPascal PRO for dsPIC30/33 and PIC24.
Example
res := tan(PI/4.); // res := 0.999998
tanh
Prototype
function tanh(x : real) : real;
Description Function returns the hyperbolic tangent of x, dened mathematically as sinh(x)/cosh(x).
Example
res := tanh(-PI/4.); // res := -0.655793