.\" and Copyright (C) 2011 Michael Kerrisk <mtk.manpages@gamil.com>
.\" Distributed under GPL
.\"
-.\" Japanese Version Copyright (c) 2003 Akihiro MOTOKI
-.\" all rights reserved.
-.\" Translated Thu Jul 24 00:22:25 JST 2003
-.\" by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
+.\"*******************************************************************
.\"
-.\"WORD: arc sine 逆正弦
-.\"WORD: arc cosine 逆余弦
-.\"WORD: arc tangent 逆正接
-.\"WORD: real part 実部
-.\"WORD: imaginary part 虚部
+.\" This file was generated with po4a. Translate the source file.
.\"
-.TH CATAN 3 2011-09-15 "" "Linux Programmer's Manual"
-.\"O .SH NAME
+.\"*******************************************************************
+.TH CATAN 3 2011\-09\-15 "" "Linux Programmer's Manual"
.SH 名前
-.\"O catan, catanf, catanl \- complex arc tangents
catan, catanf, catanl \- 複素数の逆正接 (arc tangent)
-.\"O .SH SYNOPSIS
.SH 書式
-.B #include <complex.h>
+\fB#include <complex.h>\fP
.sp
-.BI "double complex catan(double complex " z );
+\fBdouble complex catan(double complex \fP\fIz\fP\fB);\fP
.br
-.BI "float complex catanf(float complex " z );
+\fBfloat complex catanf(float complex \fP\fIz\fP\fB);\fP
.br
-.BI "long double complex catanl(long double complex " z );
+\fBlong double complex catanl(long double complex \fP\fIz\fP\fB);\fP
.sp
-.\"O Link with \fI\-lm\fP.
\fI\-lm\fP でリンクする。
-.\"O .SH DESCRIPTION
.SH 説明
-.\"O The
-.\"O .BR catan ()
-.\"O function calculates the complex arc tangent of
-.\"O .IR z .
-.\"O If \fIy\ =\ catan(z)\fP, then \fIz\ =\ ctan(y)\fP.
-.\"O The real part of y is chosen in the interval [\-pi/2,pi/2].
-.BR catan ()
-関数は複素数
-.I z
-の逆正接 (arc tangent) を計算する。
+\fBcatan\fP() 関数は複素数 \fIz\fP の逆正接 (arc tangent) を計算する。
\fIy = catan(z)\fP ならば、 \fIz = ctan(y)\fP が成立する。
-.I y
-の実部の値は区間 [\-pi/2,pi/2] から選択される。
+\fIy\fP の実部の値は区間 [\-pi/2,pi/2] から選択される。
.LP
-.\"O One has:
次の関係が成立する:
.nf
catan(z) = (clog(1 + i * z) \- clog(1 \- i * z)) / (2 * i)
.fi
-.\"O .SH VERSIONS
.SH バージョン
-.\"O These functions first appeared in glibc in version 2.1.
これらの関数は glibc バージョン 2.1 で初めて登場した。
-.\"O .SH "CONFORMING TO"
.SH 準拠
C99.
-.\"O .SH EXAMPLE
.SH 例
.nf
-/* Link with "\-lm" */
+/* "\-lm" でリンクする */
#include <complex.h>
#include <stdlib.h>
double complex i = I;
if (argc != 3) {
- fprintf(stderr, "Usage: %s <real> <imag>\\n", argv[0]);
+ fprintf(stderr, "Usage: %s <real> <imag>\en", 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));
+ printf("catan() = %6.3f %6.3f*i\en", creal(c), cimag(c));
f = (clog(1 + i * z) \- clog(1 \- i * z)) / (2 * i);
- printf("formula = %6.3f %6.3f*i\\n", creal(f2), cimag(f2));
+ printf("formula = %6.3f %6.3f*i\en", creal(f2), cimag(f2));
exit(EXIT_SUCCESS);
}
.fi
-.\"O .SH "SEE ALSO"
.SH 関連項目
-.BR ccos (3),
-.BR clog (3),
-.BR ctan (3),
-.BR complex (7)
+\fBccos\fP(3), \fBclog\fP(3), \fBctan\fP(3), \fBcomplex\fP(7)