Math Scalar Library
Programming Reference Manual C/C++
Version 1.0 DD-00003-010

11.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|