blob: b799dda44a08f0780693dc0adf1ab81db7d5e23f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# define TGSOURCE "complex/conj.c"
#include "_tgmath.h"
#include <complex.h>
TYPE complex TGFN(conj)(TYPE complex z)
{
SIGNAL_SAFE(0);
return TGFN(creal)(z) - TGFN(cimag)(z);
}
/*d
The conj functions compute the complex conjugate of z, by rev ersing the sign of its
imaginary part.
d*/
/*r
The conj functions return the complex conjugate value.
r*/
/*
STDC(199901)
LINK(m)
*/
|