Translations of this page?:

tan

Sintaxe:

    #include <cmath>
    double tan( double arg );

A função tan() devolve a tangente de arg, onde arg é dado em radianos. Se arg for infinito, tan() devolverá NaN e provocará uma excepção de vírgula flutuante.

O C++ também fornece as seguintes formas sobre-carregadas (overload):

    #include <cmath>
    float tan( float arg ); // igual a tanf() em C99
    long double tan( long double arg ); // igual a tanl() em C99

Tópicos Relacionados: acos, asin, atan, atan2, cos, cosh, sin, sinh, tanh

 
• • • SitemapRecent changesRSScc