Math Scalar Library
Programming Reference Manual C/C++
Version 1.1 DD-00003-011

24.3 scabs - Complex absolute value |x|

#include <msca.h> 
 
double scabs (double complex x); 
float  scabsf(float complex x);

Given a value x∈ C  this function computes the complex absolute value:

|x|