blob: 18e50c9cf9f89c66c4e7a27467e886126dd696a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# define TGSOURCE "../complex/conj.c"
#include "_tgmath.h"
#include <complex.h>
TYPE complex TGFN(conj)(TYPE complex z)
{
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)
*/
|