36351fc266736730e60b42f4549fd689cbdae7f9
[libc-test] / src / api / complex.c
1 #include <complex.h>
2 #define T(t) (t*)0;
3 static void f()
4 {
5 T(float complex)
6
7 {const float complex c = _Complex_I;}
8 {const float complex c = I;}
9
10 double(*p_cabs)(double complex) = cabs;
11 float(*p_cabsf)(float complex) = cabsf;
12 long double(*p_cabsl)(long double complex) = cabsl;
13 double complex(*p_cacos)(double complex) = cacos;
14 float complex(*p_cacosf)(float complex) = cacosf;
15 double complex(*p_cacosh)(double complex) = cacosh;
16 float complex(*p_cacoshf)(float complex) = cacoshf;
17 long double complex(*p_cacoshl)(long double complex) = cacoshl;
18 long double complex(*p_cacosl)(long double complex) = cacosl;
19 double(*p_carg)(double complex) = carg;
20 float(*p_cargf)(float complex) = cargf;
21 long double(*p_cargl)(long double complex) = cargl;
22 double complex(*p_casin)(double complex) = casin;
23 float complex(*p_casinf)(float complex) = casinf;
24 double complex(*p_casinh)(double complex) = casinh;
25 float complex(*p_casinhf)(float complex) = casinhf;
26 long double complex(*p_casinhl)(long double complex) = casinhl;
27 long double complex(*p_casinl)(long double complex) = casinl;
28 double complex(*p_catan)(double complex) = catan;
29 float complex(*p_catanf)(float complex) = catanf;
30 double complex(*p_catanh)(double complex) = catanh;
31 float complex(*p_catanhf)(float complex) = catanhf;
32 long double complex(*p_catanhl)(long double complex) = catanhl;
33 long double complex(*p_catanl)(long double complex) = catanl;
34 double complex(*p_ccos)(double complex) = ccos;
35 float complex(*p_ccosf)(float complex) = ccosf;
36 double complex(*p_ccosh)(double complex) = ccosh;
37 float complex(*p_ccoshf)(float complex) = ccoshf;
38 long double complex(*p_ccoshl)(long double complex) = ccoshl;
39 long double complex(*p_ccosl)(long double complex) = ccosl;
40 double complex(*p_cexp)(double complex) = cexp;
41 float complex(*p_cexpf)(float complex) = cexpf;
42 long double complex(*p_cexpl)(long double complex) = cexpl;
43 double(*p_cimag)(double complex) = cimag;
44 float(*p_cimagf)(float complex) = cimagf;
45 long double(*p_cimagl)(long double complex) = cimagl;
46 double complex(*p_clog)(double complex) = clog;
47 float complex(*p_clogf)(float complex) = clogf;
48 long double complex(*p_clogl)(long double complex) = clogl;
49 double complex(*p_conj)(double complex) = conj;
50 float complex(*p_conjf)(float complex) = conjf;
51 long double complex(*p_conjl)(long double complex) = conjl;
52 double complex(*p_cpow)(double complex,double complex) = cpow;
53 float complex(*p_cpowf)(float complex,float complex) = cpowf;
54 long double complex(*p_cpowl)(long double complex,long double complex) = cpowl;
55 double complex(*p_cproj)(double complex) = cproj;
56 float complex(*p_cprojf)(float complex) = cprojf;
57 long double complex(*p_cprojl)(long double complex) = cprojl;
58 double(*p_creal)(double complex) = creal;
59 float(*p_crealf)(float complex) = crealf;
60 long double(*p_creall)(long double complex) = creall;
61 double complex(*p_csin)(double complex) = csin;
62 float complex(*p_csinf)(float complex) = csinf;
63 double complex(*p_csinh)(double complex) = csinh;
64 float complex(*p_csinhf)(float complex) = csinhf;
65 long double complex(*p_csinhl)(long double complex) = csinhl;
66 long double complex(*p_csinl)(long double complex) = csinl;
67 double complex(*p_csqrt)(double complex) = csqrt;
68 float complex(*p_csqrtf)(float complex) = csqrtf;
69 long double complex(*p_csqrtl)(long double complex) = csqrtl;
70 double complex(*p_ctan)(double complex) = ctan;
71 float complex(*p_ctanf)(float complex) = ctanf;
72 double complex(*p_ctanh)(double complex) = ctanh;
73 float complex(*p_ctanhf)(float complex) = ctanhf;
74 long double complex(*p_ctanhl)(long double complex) = ctanhl;
75 long double complex(*p_ctanl)(long double complex) = ctanl;
76 }