summaryrefslogblamecommitdiff
path: root/src/complex/cabs.c
blob: c5ad58ab9353a1ca895ca9bc053cac7e67d0883a (plain) (tree)
1
2
3
4
5
6
                         




                                         
#include "complex_impl.h"

double cabs(double complex z)
{
	return hypot(creal(z), cimag(z));
}