Name
creal, crealf, creall - get real part of a complex numberLibrary
Math library ( libm ", " -lm )Synopsis
#include <complex.h> double creal(double complex z );
float crealf(float complex z );
long double creall(long double complex z );
Description
These functions return the real part of the complex numberz
. One has:
z = creal(z) + I * cimag(z)
Attributes
For an explanation of the terms used in this section, see attributes(7).Interface | Attribute | Value |
T} | Thread safety | MT-Safe |