OSDN Git Service

675a19e8bb543c64852294e0e842a8e415bc618e
[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)