OSDN Git Service

(split) LDP_man-pages: release ioctl.2 [JM:00378]
[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)