summaryrefslogtreecommitdiff
path: root/src/complex/conj.c
blob: 0b3f5f46306c78086e026c7d61a0f7b8390dea4e (plain) (blame)
1
2
3
4
5
6
#include "libm.h"

double complex conj(double complex z)
{
	return CMPLX(creal(z), -cimag(z));
}