1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
2 .\" Distributed under GPL
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>
10 .\"WORD: imaginary part 虚部
12 .TH CREAL 3 2008-08-11 "" "Linux Programmer's Manual"
15 .\"O creal, crealf, creall \- get real part of a complex number
16 creal, crealf, creall \- 複素数の実部を取得する
19 .B #include <complex.h>
21 .BI "double creal(double complex " z );
23 .BI "float crealf(float complex " z );
25 .BI "long double creall(long double complex " z );
27 .\"O Link with \fI\-lm\fP.
33 .\"O function returns the real part of the complex number
44 z = creal(z) + I * cimag(z)
48 .\"O These functions first appeared in glibc in version 2.1.
49 これらの関数は glibc バージョン 2.1 で初めて登場した。
50 .\"O .SH "CONFORMING TO"
55 .\"O The gcc supports also __real__.
56 .\"O That is a GNU extension.
57 gcc では __real__ を使うこともできるが、