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>
9 .\"WORD: real part ¼ÂÉô
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.
28 \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__ ¤ò»È¤¦¤³¤È¤â¤Ç¤¤ë¤¬¡¢
58 ¤³¤ì¤Ï GNU ¤Ë¤è¤ë³ÈÄ¥¤Ç¤¢¤ë¡£