Namespaces
Variants

std::tan

From cppreference.com
Revision as of 01:49, 3 August 2011 by P12bot (talk | contribs) (Text replace - "{{returns}}" to "===Return value===")

Template:cpp/numeric/math/sidebar Template:ddcl list begin

Defined in header <cmath>
float       tan( float arg );
double      tan( double arg );
long double tan( long double arg );

Template:ddcl list end Computes tangent of arg

Parameters

arg - floating point value representing angle in radians

Return value

tangent of arg.

Domain error occurs if arg is infinite. Template:cpp is returned in that case.

Template:see also

Template:cpp/numeric/math/dcl list sinTemplate:cpp/numeric/math/dcl list cosTemplate:cpp/numeric/math/dcl list atan