.\" -*- coding: UTF-8 -*-
'\" t
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" and Copyright (C) 2011 Michael Kerrisk <mtk.manpages@gmail.com>
.\"
.\" SPDX-License-Identifier: GPL-1.0-or-later
.\"
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH catan 3 "15 grudnia 2022 r." "Linux man\-pages 6.03" 
.SH NAZWA
catan, catanf, catanl \- arcus tangens liczb zespolonych
.SH BIBLIOTEKA
Biblioteka matematyczna (\fIlibm\fP, \fI\-lm\fP)
.SH SKŁADNIA
.nf
\fB#include <complex.h>\fP
.PP
\fBdouble complex catan(double complex \fP\fIz\fP\fB);\fP
\fBfloat complex catanf(float complex \fP\fIz\fP\fB);\fP
\fBlong double complex catanl(long double complex \fP\fIz\fP\fB);\fP
.fi
.SH OPIS
These functions calculate the complex arc tangent of \fIz\fP.  If
\fIy\~=\~catan(z)\fP, then \fIz\~=\~ctan(y)\fP.  The real part of y is chosen in
the interval [\-pi/2,pi/2].
.PP
Wzór:
.PP
.in +4n
.EX
catan(z) = (clog(1 + i * z) \- clog(1 \- i * z)) / (2 * i)
.EE
.in
.SH WERSJE
Funkcje te dodano w glibc 2.1.
.SH ATRYBUTY
Informacje o pojęciach używanych w tym rozdziale można znaleźć w podręczniku
\fBattributes\fP(7).
.ad l
.nh
.TS
allbox;
lbx lb lb
l l l.
Interfejs	Atrybut	Wartość
T{
\fBcatan\fP(),
\fBcatanf\fP(),
\fBcatanl\fP()
T}	Bezpieczeństwo wątkowe	MT\-bezpieczne
.TE
.hy
.ad
.sp 1
.SH STANDARDY
C99, POSIX.1\-2001, POSIX.1\-2008.
.SH PRZYKŁADY
.\" SRC BEGIN (catan.c)
.EX
/* Proszę linkować z \-lm */

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

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

    if (argc != 3) {
        fprintf(stderr, "Użycie: %s <rzecz.> <uroj.>\en", argv[0]);
        exit(EXIT_FAILURE);
    }

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

    c = catan(z);
    printf("catan() = %6.3f %6.3f*i\en", creal(c), cimag(c));

    f = (clog(1 + i * z) \- clog(1 \- i * z)) / (2 * i);
    printf("wzór = %6.3f %6.3f*i\en", creal(f), cimag(f));

    exit(EXIT_SUCCESS);
}
.EE
.\" SRC END
.SH "ZOBACZ TAKŻE"
\fBccos\fP(3), \fBclog\fP(3), \fBctan\fP(3), \fBcomplex\fP(7)
.PP
.SH TŁUMACZENIE
Tłumaczenie niniejszej strony podręcznika:
Michał Kułach <michal.kulach@gmail.com>
.
.PP
Niniejsze tłumaczenie jest wolną dokumentacją. Bliższe informacje o warunkach
licencji można uzyskać zapoznając się z
.UR https://www.gnu.org/licenses/gpl-3.0.html
GNU General Public License w wersji 3
.UE
lub nowszej. Nie przyjmuje się ŻADNEJ ODPOWIEDZIALNOŚCI.
.PP
Błędy w tłumaczeniu strony podręcznika prosimy zgłaszać na adres listy
dyskusyjnej
.MT manpages-pl-list@lists.sourceforge.net
.ME .
