OSDN Git Service

ebbddb5e824ec72bffad737381f8b8dac8949e68
[linuxjm/LDP_man-pages.git] / draft / man3 / creal.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:33:13 JST 2003
7 .\"         by Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
8 .\"
9 .\"WORD:        real part       実部
10 .\"WORD:        imaginary part  虚部
11 .\"
12 .TH CREAL 3 2008-08-11 "" "Linux Programmer's Manual"
13 .\"O .SH NAME
14 .SH 名前
15 .\"O creal, crealf, creall \- get real part of a complex number
16 creal, crealf, creall \- 複素数の実部を取得する
17 .\"O .SH SYNOPSIS
18 .SH 書式
19 .B #include <complex.h>
20 .sp
21 .BI "double creal(double complex " z );
22 .br
23 .BI "float crealf(float complex " z );
24 .br
25 .BI "long double creall(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 creal ()
33 .\"O function returns the real part of the complex number
34 .\"O .IR z .
35 .BR creal ()
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 The gcc supports also __real__.
56 .\"O That is a GNU extension.
57 gcc では __real__ を使うこともできるが、
58 これは GNU による拡張である。
59 .\"O .SH "SEE ALSO"
60 .SH 関連項目
61 .BR cabs (3),
62 .BR cimag (3),
63 .BR complex (7)