Provided by: manpages-de-dev_1.4-1_all bug

BEZEICHNUNG

       cacos, cacosf, cacosl - komplexer Arcus Cosinus

ÜBERSICHT

       #include <complex.h>

       double complex cacos(double complex z);
       float complex cacosf(float complex z);
       long double complex cacosl(long double complex z);

       Linken Sie mit der Option -lm.

BESCHREIBUNG

       Die  Funktion  cacos() berechnet den komplexen Arcus Cosinus von z. Wenn y = cacos(z) ist,
       dann ist z = ccos(y). Für den Realteil von y  wird  ein  Wert  aus  dem  Intervall  [0,Pi]
       verwendet.

       Es gilt:

           cacos(z) = -i * clog(z + i * csqrt(1 - z * z))

VERSIONEN

       Diese Funktionen kamen erstmals in Glibc 2.1 vor.

KONFORM ZU

       C99.

BEISPIEL

       /* Linken Sie mit der 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, "Usage: %s <real> <imag>\n", argv[0]);
               exit(EXIT_FAILURE);
           }

           z = atof(argv[1]) + atof(argv[2]) * I;

           c = cacos(z);

           printf("cacos() = %6.3f %6.3f*i\n", creal(c), cimag(c));

           f = -i * clog(z + i * csqrt(1 - z * z));

           printf("formula = %6.3f %6.3f*i\n", creal(f), cimag(f));

           exit(EXIT_SUCCESS);
       }

SIEHE AUCH

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

KOLOPHON

       This  page  is  part  of release 3.54 of the Linux man-pages project. A description of the
       project,    and    information    about    reporting    bugs,    can    be    found     at
       http://www.kernel.org/doc/man-pages/.

ÜBERSETZUNG

       Die   deutsche   Übersetzung  dieser  Handbuchseite  wurde  von  Martin  Eberhard  Schauer
       <Martin.E.Schauer@gmx.de> erstellt.

       Diese Übersetzung ist Freie Dokumentation;  lesen  Sie  die  GNU  General  Public  License
       Version   3  oder  neuer  bezüglich  der  Copyright-Bedingungen.  Es  wird  KEINE  HAFTUNG
       übernommen.

       Wenn Sie Fehler in der Übersetzung dieser Handbuchseite finden, schicken Sie bitte eine E-
       Mail an <debian-l10n-german@lists.debian.org>.

                                        15. September 2011                               CACOS(3)