creal()

Computes the real part of a complex number.

  #include <math.h>
  
  double creal(double complex x);
  
  float crealf(float complex x);
  
  long double creall(long double complex x);    
Parameter

x

A complex value.

Remarks

This facility may not be available on configurations of the EWL that run on platforms that do not have floating-point math capabilities.