Implementation status: to be implemented

Synopsis

#include <complex.h>

double cabs(double complex z);
float cabsf(float complex z);
long double cabsl(long double complex z);

Description

The functions return a complex absolute value.

Arguments
z - a complex number.

These functions compute the complex absolute value (also called norm, modulus, or magnitude) of z.

Return value

These functions return the complex absolute value of z.

Errors

No errors are defined.