X-Git-Url: http://git.osdn.net/view?p=linuxjm%2FLDP_man-pages.git;a=blobdiff_plain;f=release%2Fman3%2Fcatan.3;h=17b5b60425a868c79e8588b8d22c6b387b765a13;hp=e28298dde0f9ce75e7589ba451785b8bb5c65a8b;hb=4fa3e54b837e5814a4598ec901d77446bf5cb9b3;hpb=f8a251df75590049b7aa6f3cd698b6ce733b1ea5 diff --git a/release/man3/catan.3 b/release/man3/catan.3 index e28298dd..17b5b604 100644 --- a/release/man3/catan.3 +++ b/release/man3/catan.3 @@ -2,38 +2,28 @@ .\" and Copyright (C) 2011 Michael Kerrisk .\" 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 +.\"******************************************************************* .\" -.\"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 +\fB#include \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 #include @@ -60,23 +50,20 @@ main(int argc, char *argv[]) double complex i = I; if (argc != 3) { - fprintf(stderr, "Usage: %s \\n", argv[0]); + fprintf(stderr, "Usage: %s \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)