OSDN Git Service

5af1ddfb4f8aab5e4800b3a697d9ed690e8a3bac
[linuxjm/LDP_man-pages.git] / draft / man3 / cimag.3
1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\" Distributed under GPL
3 .\"
4 .\" Japanese Version Copyright (c) 2003  Akihiro MOTOKI
5 .\"         all rights reserved.
6 .\" Translated Thu Jul 24 01:37:31 JST 2003
7 .\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
8 .\"
9 .\"WORD:        real part       実部
10 .\"WORD:        imaginary part  虚部
11 .\"
12 .TH CIMAG 3 2008-08-06 "" "Linux Programmer's Manual"
13 .\"O .SH NAME
14 .SH 名前
15 .\"O cimag, cimagf, cimagl \- get imaginary part of a complex number
16 cimag, cimagf, cimagl \- 複素数の虚部を取得する
17 .\"O .SH SYNOPSIS
18 .SH 書式
19 .B #include <complex.h>
20 .sp
21 .BI "double cimag(double complex " z ");"
22 .br
23 .BI "float cimagf(float complex " z ");"
24 .br
25 .BI "long double cimagl(long double complex " z ");"
26 .sp
27 .\"O Link with \fI\-lm\fP.
28 \fI\-lm\fP でリンクする。
29 .\"O .SH DESCRIPTION
30 .SH 説明
31 .\"O The
32 .\"O .BR cimag ()
33 .\"O function returns the imaginary part of the complex number
34 .\"O .IR z .
35 .BR cimag ()
36 関数は複素数
37 .I z
38 の虚部を返す。
39 .LP
40 .\"O One has:
41 次の関係が成立する:
42 .nf
43
44     z = creal(z) + I * cimag(z)
45 .fi
46 .\"O .SH VERSIONS
47 .SH バージョン
48 .\"O These functions first appeared in glibc in version 2.1.
49 これらの関数は glibc バージョン 2.1 で初めて登場した。
50 .\"O .SH "CONFORMING TO"
51 .SH 準拠
52 C99.
53 .\"O .SH NOTES
54 .SH 注意
55 .\"O gcc also supports __imag__.
56 .\"O That is a GNU extension.
57 gcc では __imag__ を使うこともできるが、
58 これは GNU による拡張である。
59 .\"O .SH "SEE ALSO"
60 .SH 関連項目
61 .BR cabs (3),
62 .BR creal (3),
63 .BR complex (7)