Provided by: manpages-fr-dev_3.57d1p1-1_all bug

NOM

       catan, catanf, catanl - Fonction arc tangente complexe

SYNOPSIS

       #include <complex.h>

       double complex catan(double complex z);
       float complex catanf(float complex z);
       long double complex catanl(long double complex z);

       Effectuez l'édition des liens avec l'option -lm.

DESCRIPTION

       La  fonction  catan()  calcule  la  valeur  complexe  de  l'arc  tangente  de  z.  Si y = catan(z), alors
       z = ctan(y). La partie réelle 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)

VERSIONS

       Ces fonctions ont été introduites dans la glibc dans sa version 2.1.

CONFORMITÉ

       C99.

EXEMPLE

       Effectuez l'édition des liens avec l'option « -lm ».

       #include <complex.h>
       #include <stdlib.h>
       #include <unistd.h>
       #include <stdio.h>

       int
       main(int argc, char *argv[])
       {
           double complex z, c, f;
           double complex i = I;

           if (argc != 3) {
               fprintf(stderr, "Utilisation : %s <reel> <imag>\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(f2), cimag(f2));

           exit(EXIT_SUCCESS);
       }

VOIR AUSSI

       ccos(3), clog(3), ctan(3), complex(7)

COLOPHON

       Cette page fait partie de la publication 3.57 du projet man-pages Linux. Une description du projet et des
       instructions     pour     signaler     des     anomalies    peuvent    être    trouvées    à    l'adresse
       http://www.kernel.org/doc/man-pages/.

TRADUCTION

       Depuis 2010, cette traduction est maintenue à l'aide de l'outil po4a <http://po4a.alioth.debian.org/> par
       l'équipe de traduction francophone au sein du projet perkamon <http://perkamon.alioth.debian.org/>.

       Christophe       Blaess       <http://www.blaess.fr/christophe/>      (1996-2003),      Alain      Portal
       <http://manpagesfr.free.fr/> (2003-2006). Florentin Duneau  et  l'équipe  francophone  de  traduction  de
       Debian (2006-2009).

       Veuillez  signaler  toute erreur de traduction en écrivant à <debian-l10n-french@lists.debian.org> ou par
       un rapport de bogue sur le paquet manpages-fr.

       Vous pouvez toujours avoir accès à la version anglaise de ce document en utilisant la commande « man -L C
       <section> <page_de_man> ».

                                                15 septembre 2011                                       CATAN(3)