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





                                          
#include "libm.h"

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