OSDN Git Service

(split) LDP: Release pages for LDP v3.39.
[linuxjm/LDP_man-pages.git] / release / man3 / catan.3
index e28298d..17b5b60 100644 (file)
@@ -2,38 +2,28 @@
 .\" 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"
+.\"*******************************************************************
+.TH CATAN 3 2011\-09\-15 "" "Linux Programmer's Manual"
 .SH 名前
 catan, catanf, catanl \- 複素数の逆正接 (arc tangent)
 .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
 \fI\-lm\fP でリンクする。
 .SH 説明
-.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
 次の関係が成立する:
 .nf
@@ -46,7 +36,7 @@ catan, catanf, catanl \- 複素数の逆正接 (arc tangent)
 C99.
 .SH 例
 .nf
-/* Link with "\-lm" */
+/* "\-lm" でリンクする */
 
 #include <complex.h>
 #include <stdlib.h>
@@ -60,23 +50,20 @@ main(int argc, char *argv[])
     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
 .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)