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

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