.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de) .\" Distributed under GPL .\" .\" Japanese Version Copyright (c) 2003 Akihiro MOTOKI .\" all rights reserved. .\" Translated Thu Jul 24 01:33:13 JST 2003 .\" by Akihiro MOTOKI .\" .\"WORD: real part 実部 .\"WORD: imaginary part 虚部 .\" .TH CREAL 3 2008-08-11 "" "Linux Programmer's Manual" .\"O .SH NAME .SH 名前 .\"O creal, crealf, creall \- get real part of a complex number creal, crealf, creall \- 複素数の実部を取得する .\"O .SH SYNOPSIS .SH 書式 .B #include .sp .BI "double creal(double complex " z ); .br .BI "float crealf(float complex " z ); .br .BI "long double creall(long double complex " z ); .sp .\"O Link with \fI\-lm\fP. \fI\-lm\fP でリンクする。 .\"O .SH DESCRIPTION .SH 説明 .\"O The .\"O .BR creal () .\"O function returns the real part of the complex number .\"O .IR z . .BR creal () 関数は複素数 .I z の実部を返す。 .LP .\"O One has: 次の関係が成立する: .nf z = creal(z) + I * cimag(z) .fi .\"O .SH VERSIONS .SH バージョン .\"O These functions first appeared in glibc in version 2.1. これらの関数は glibc バージョン 2.1 で初めて登場した。 .\"O .SH "CONFORMING TO" .SH 準拠 C99. .\"O .SH NOTES .SH 注意 .\"O The gcc supports also __real__. .\"O That is a GNU extension. gcc では __real__ を使うこともできるが、 これは GNU による拡張である。 .\"O .SH "SEE ALSO" .SH 関連項目 .BR cabs (3), .BR cimag (3), .BR complex (7)