about summary refs log tree commit diff
path: root/src/complex/cabs.c
blob: f61d364e47d260ec634f191f0a767aff3b2e39ee (plain) (blame)
1
2
3
4
5
6
#include "libm.h"

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