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.
z | Specifies the real to be computed. |
These subroutines return the real part value.
carg, cargf, or cargl Subroutine, cimag, cimagf, or cimagl Subroutine, conj, conjf, or conjl Subroutine, and cproj, cprojf, or cprojl Subroutine