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

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