xref: /minix3/lib/libm/complex/creal.3 (revision 84d9c625bfea59e274550651111ae9edfdc40fbd)
1.\" $NetBSD: creal.3,v 1.4 2012/12/27 21:34:10 wiz Exp $
2.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved
3.Dd December 27, 2012
4.Dt CREAL 3
5.Os
6.Sh NAME
7.Nm creal ,
8.Nm crealf ,
9.Nm creall
10.Nd complex real functions
11.Sh SYNOPSIS
12.In complex.h
13.Ft double
14.Fn creal "double complex z"
15.Ft float
16.Fn crealf "float complex z"
17.Ft long double
18.Fn creall "long double complex z"
19.Sh DESCRIPTION
20These functions compute the real part of
21.Ar z .
22.Sh RETURN VALUES
23These functions return the real part value.
24.Sh ERRORS
25No errors are defined.
26.Sh APPLICATION USAGE
27For a variable
28.Ar z
29of type
30.Vt complex :
31.Bd -literal -offset indent
32z == creal(z) + cimag(z)*I
33.Ed
34.Sh SEE ALSO
35.Xr carg 3 ,
36.Xr cimag 3 ,
37.Xr conj 3 ,
38.Xr cproj 3 ,
39.St -p1003.1-2001
40.Aq Pa complex.h
41.Sh COPYRIGHT
42Portions of this text are reprinted and reproduced in electronic form
43from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
44-- Portable Operating System Interface (POSIX), The Open Group Base
45Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
46Electrical and Electronics Engineers, Inc and The Open Group.
47In the
48event of any discrepancy between this version and the original IEEE and
49The Open Group Standard, the original IEEE and The Open Group Standard
50is the referee document.
51The original Standard can be obtained online at
52http://www.opengroup.org/unix/online.html .
53