cabs()

Computes an absolute value.

  #include <math.h>
  
   double complex cabs(double complex x);
  
   float complex cabsf(float complex x);
  
   long double complex cabsl(long double complex x);    
Parameter

x

A complex value.

Remarks

These functions return the absolute value of x.

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