Everything

cabsf / cabs / cabsl


Calculates the absolute value of a complex number.

[Format]

#include <complex.h>

float cabsf(float complex z);

double cabs(double complex z);

long double cabsl(long double complex z);

[Parameters]

z Complex number for which absolute value is to be computed

[Return values]

Absolute value of z