1 #include <complex.h> 2 #define T(t) (t*)0; f()3static 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)(double complex) = cabs;} 11 {float(*p)(float complex) = cabsf;} 12 {long double(*p)(long double complex) = cabsl;} 13 {double complex(*p)(double complex) = cacos;} 14 {float complex(*p)(float complex) = cacosf;} 15 {double complex(*p)(double complex) = cacosh;} 16 {float complex(*p)(float complex) = cacoshf;} 17 {long double complex(*p)(long double complex) = cacoshl;} 18 {long double complex(*p)(long double complex) = cacosl;} 19 {double(*p)(double complex) = carg;} 20 {float(*p)(float complex) = cargf;} 21 {long double(*p)(long double complex) = cargl;} 22 {double complex(*p)(double complex) = casin;} 23 {float complex(*p)(float complex) = casinf;} 24 {double complex(*p)(double complex) = casinh;} 25 {float complex(*p)(float complex) = casinhf;} 26 {long double complex(*p)(long double complex) = casinhl;} 27 {long double complex(*p)(long double complex) = casinl;} 28 {double complex(*p)(double complex) = catan;} 29 {float complex(*p)(float complex) = catanf;} 30 {double complex(*p)(double complex) = catanh;} 31 {float complex(*p)(float complex) = catanhf;} 32 {long double complex(*p)(long double complex) = catanhl;} 33 {long double complex(*p)(long double complex) = catanl;} 34 {double complex(*p)(double complex) = ccos;} 35 {float complex(*p)(float complex) = ccosf;} 36 {double complex(*p)(double complex) = ccosh;} 37 {float complex(*p)(float complex) = ccoshf;} 38 {long double complex(*p)(long double complex) = ccoshl;} 39 {long double complex(*p)(long double complex) = ccosl;} 40 {double complex(*p)(double complex) = cexp;} 41 {float complex(*p)(float complex) = cexpf;} 42 {long double complex(*p)(long double complex) = cexpl;} 43 {double(*p)(double complex) = cimag;} 44 {float(*p)(float complex) = cimagf;} 45 {long double(*p)(long double complex) = cimagl;} 46 {double complex(*p)(double complex) = clog;} 47 {float complex(*p)(float complex) = clogf;} 48 {long double complex(*p)(long double complex) = clogl;} 49 {double complex(*p)(double complex) = conj;} 50 {float complex(*p)(float complex) = conjf;} 51 {long double complex(*p)(long double complex) = conjl;} 52 {double complex(*p)(double complex,double complex) = cpow;} 53 {float complex(*p)(float complex,float complex) = cpowf;} 54 {long double complex(*p)(long double complex,long double complex) = cpowl;} 55 {double complex(*p)(double complex) = cproj;} 56 {float complex(*p)(float complex) = cprojf;} 57 {long double complex(*p)(long double complex) = cprojl;} 58 {double(*p)(double complex) = creal;} 59 {float(*p)(float complex) = crealf;} 60 {long double(*p)(long double complex) = creall;} 61 {double complex(*p)(double complex) = csin;} 62 {float complex(*p)(float complex) = csinf;} 63 {double complex(*p)(double complex) = csinh;} 64 {float complex(*p)(float complex) = csinhf;} 65 {long double complex(*p)(long double complex) = csinhl;} 66 {long double complex(*p)(long double complex) = csinl;} 67 {double complex(*p)(double complex) = csqrt;} 68 {float complex(*p)(float complex) = csqrtf;} 69 {long double complex(*p)(long double complex) = csqrtl;} 70 {double complex(*p)(double complex) = ctan;} 71 {float complex(*p)(float complex) = ctanf;} 72 {double complex(*p)(double complex) = ctanh;} 73 {float complex(*p)(float complex) = ctanhf;} 74 {long double complex(*p)(long double complex) = ctanhl;} 75 {long double complex(*p)(long double complex) = ctanl;} 76 } 77