blob: 6b03f9a170cc900f556bf3dc505527a0da25ada9 (
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
25
26
27
28
29
30
31
32
|
#if 0
# define TGSOURCE "complex/cimag.c"
#include "_tgmath.h"
#include <complex.h>
TYPE TGFN(cimag)(TYPE complex z)
{
union {
complex TYPE c;
TYPE f[2];
} u = { .c = z };
return u.f[1];
}
/*d
The cimag functions compute the imaginary part of z. 164)
d*/
/*r
The cimag functions return the imaginary part value (as a real).
r*/
/*
STDC(199901)
LINK(m)
*/
#endif
|