catan(3) Library Functions Manual catan(3) NOM catan, catanf, catanl - Fonction arc tangente complexe BIBLIOTHEQUE Bibliotheque de math (libm, -lm) SYNOPSIS #include double complex catan(double complex z); float complex catanf(float complex z); long double complex catanl(long double complex z); DESCRIPTION Ces fonctions calculent la valeur complexe de l'arc tangente de z. Si y = catan(z), alors z = ctan(y). La partie reelle de y est choisie dans l'intervalle [-pi/2,pi/2]. On a : catan(z) = (clog(1 + i * z) - clog(1 - i * z)) / (2 * i) ATTRIBUTS Pour une explication des termes utilises dans cette section, consulter attributes(7). +---------------------------------+--------------------------+---------+ |Interface | Attribut | Valeur | +---------------------------------+--------------------------+---------+ |catan(), catanf(), catanl() | Securite des threads | MT-Safe | +---------------------------------+--------------------------+---------+ STANDARDS C11, POSIX.1-2008. HISTORIQUE glibc 2.1. C99, POSIX.1-2001. EXEMPLES /* Editez les liens avec "-lm" */ #include #include #include #include int main(int argc, char *argv[]) { double complex z, c, f; double complex i = I; if (argc != 3) { fprintf(stderr, "Utilisation : %s \n", argv[0]); exit(EXIT_FAILURE); } z = atof(argv[1]) + atof(argv[2]) * I; c = catan(z); printf("catan() = %6.3f %6.3f*i\n", creal(c), cimag(c)); f = (clog(1 + i * z) - clog(1 - i * z)) / (2 * i); printf("formule = %6.3f %6.3f*i\n", creal(f), cimag(f)); exit(EXIT_SUCCESS); } VOIR AUSSI ccos(3), clog(3), ctan(3), complex(7) TRADUCTION La traduction francaise de cette page de manuel a ete creee par Christophe Blaess , Stephan Rafin , Thierry Vignaud , Francois Micaux, Alain Portal , Jean-Philippe Guerard , Jean-Luc Coulon (f5ibh) , Julien Cristau , Thomas Huriaux , Nicolas Francois , Florentin Duneau , Simon Paillard , Denis Barbier et David Prevot Cette traduction est une documentation libre ; veuillez vous reporter a la GNU General Public License version 3 concernant les conditions de copie et de distribution. Il n'y a aucune RESPONSABILITE LEGALE. Si vous decouvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message a . Pages du manuel de Linux 6.06 1 novembre 2023 catan(3)