Computes the real part of a specified value.
#include <complex.h>
double creal (z)
double complex z;
float crealf (z)
float complex z;
long double creall (z)
long double complex z;
The creal, crealf, and creall subroutines compute the real part of the value specified by the z parameter.
Item | Description |
---|---|
z | Specifies the real to be computed. |
These subroutines return the real part value.