C Programming/complex.h/cabs

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Prototypes[edit | edit source]

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

Description[edit | edit source]

These functions compute and return the complex absolute value.