|
tanfunction
<cmath>
double tan ( double x ); float tan ( float x ); long double tan ( long double x ); Compute tangent Returns the tangent of an angle of x radians.In C++, this function is overloaded in <complex> and <valarray> (see complex tan and valarray tan). Parameters
Return ValueTangent of x.PortabilityIn C, only the double version of this function exists with this name.Example
Output:
See also
|