.\" 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:43:35 JST 2003
-.\" by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
+.\"*******************************************************************
.\"
-.\"WORD: hyperbolic 双曲(線の)
-.\"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 CATANH 3 2011-09-15 "" "Linux Programmer's Manual"
-.\"O .SH NAME
+.\"*******************************************************************
+.TH CATANH 3 2011\-09\-15 "" "Linux Programmer's Manual"
.SH 名前
-.\"O catanh, catanhf, catanhl \- complex arc tangents hyperbolic
catanh, catanhf, catanhl \- 複素数の逆双曲線正接 (arc tangents hyperbolic)
-.\"O .SH SYNOPSIS
.SH 書式
-.B #include <complex.h>
+\fB#include <complex.h>\fP
.sp
-.BI "double complex catanh(double complex " z );
+\fBdouble complex catanh(double complex \fP\fIz\fP\fB);\fP
.br
-.BI "float complex catanhf(float complex " z );
+\fBfloat complex catanhf(float complex \fP\fIz\fP\fB);\fP
.br
-.BI "long double complex catanhl(long double complex " z );
+\fBlong double complex catanhl(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 catanh ()
-.\"O function calculates the complex arc hyperbolic tangent of
-.\"O .IR z .
-.\"O If \fIy\ =\ catanh(z)\fP, then \fIz\ =\ ctanh(y)\fP.
-.\"O The imaginary part of
-.\"O .I y
-.\"O is chosen in the interval [\-pi/2,pi/2].
-.BR catanh ()
-関数は複素数
-.I z
-の逆双曲線正弦 (arc hyperbolic tangent) を計算する。
-\fIy = catanh(z)\fP ならば、 \fIz = ctanh(y)\fP が成立する。
-.I y
-の虚部の値は区間 [\-pi/2,pi/2] から選択される。
+\fBcatanh\fP() 関数は複素数 \fIz\fP の逆双曲線正弦 (arc hyperbolic tangent) を計算する。 \fIy =
+catanh(z)\fP ならば、 \fIz = ctanh(y)\fP が成立する。 \fIy\fP の虚部の値は区間 [\-pi/2,pi/2] から選択される。
.LP
-.\"O One has:
次の関係が成立する:
.nf
catanh(z) = 0.5 * (clog(1 + z) \- clog(1 \- z))
.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 z, c, f;
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 = catanh(z);
- printf("catanh() = %6.3f %6.3f*i\\n", creal(c), cimag(c));
+ printf("catanh() = %6.3f %6.3f*i\en", creal(c), cimag(c));
f = 0.5 * (clog(1 + z) \- clog(1 \- z));
- 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 atanh (3),
-.BR cabs (3),
-.BR cimag (3),
-.BR ctanh (3),
-.BR complex (7)
+\fBatanh\fP(3), \fBcabs\fP(3), \fBcimag\fP(3), \fBctanh\fP(3), \fBcomplex\fP(7)