Standards / Extensions | C or C++ | Dependencies |
---|---|---|
C99 |
both | z/OS V1R7 |
#include <complex.h>
double creal(double complex z);
float crealf(float complex z);
long double creall(long double complex z);
Function | Hex | IEEE |
---|---|---|
creal | X | X |
crealf | X | X |
creall | X | X |
The creal() family of functions return the real part value (as a real).
For an example of a similar function see cacos(), cexp() or cpow().