Namespaces
Variants
Views
Actions

crealf, creal, creall

From cppreference.com
< c‎ | numeric‎ | complex
Revision as of 15:27, 1 July 2013 by P12bot (Talk | contribs)

Defined in header <complex.h>
float       crealf( float complex z );
(since C99)
double      creal( double complex z );
(since C99)
long double creall( long double complex z );
(since C99)

Returns the real part of z.

Contents

Parameters

z - complex argument

Return value

The real part of z.

Example

See also

(C99)(C99)(C99)
computes the imaginary part a complex number
(function) [edit]