cpp/numeric/complex/abs

Returns the magnitude of the complex number.

Return value
If no errors occur, returns the absolute value (also known as norm, modulus, or magnitude) of.

Errors and special cases are handled as if the function is implemented as.