3 static int testf(float float_x
, long double long_double_x
, /*float complex float_complex_x,*/ int int_x
, long long_x
)
10 r
+= atan2f(float_x
, float_x
);
13 /*r += cargf(float_complex_x); - will fight with complex numbers later */
16 r
+= copysignf(float_x
, float_x
);
25 r
+= fdimf(float_x
, float_x
);
27 r
+= fmaf(float_x
, float_x
, float_x
);
28 r
+= fmaxf(float_x
, float_x
);
29 r
+= fminf(float_x
, float_x
);
30 r
+= fmodf(float_x
, float_x
);
31 r
+= frexpf(float_x
, &int_x
);
33 r
+= hypotf(float_x
, float_x
);
35 r
+= ldexpf(float_x
, int_x
);
36 r
+= lgammaf(float_x
);
37 r
+= llrintf(float_x
);
38 r
+= llroundf(float_x
);
45 r
+= lroundf(float_x
);
46 r
+= modff(float_x
, &float_x
);
47 r
+= nearbyintf(float_x
);
48 r
+= nexttowardf(float_x
, long_double_x
);
49 r
+= powf(float_x
, float_x
);
50 r
+= remainderf(float_x
, float_x
);
51 r
+= remquof(float_x
, float_x
, &int_x
);
54 #ifdef __UCLIBC_SUSV3_LEGACY__
55 r
+= scalbf(float_x
, float_x
);
57 r
+= scalblnf(float_x
, long_x
);
58 r
+= scalbnf(float_x
, int_x
);
59 r
+= significandf(float_x
);
65 r
+= tgammaf(float_x
);
70 static int testl(long double long_double_x
, int int_x
, long long_x
)
73 r
+= __finitel(long_double_x
);
74 r
+= __fpclassifyl(long_double_x
);
75 r
+= __isinfl(long_double_x
);
76 r
+= __isnanl(long_double_x
);
77 r
+= __signbitl(long_double_x
);
78 r
+= acoshl(long_double_x
);
79 r
+= acosl(long_double_x
);
80 r
+= asinhl(long_double_x
);
81 r
+= asinl(long_double_x
);
82 r
+= atan2l(long_double_x
, long_double_x
);
83 r
+= atanhl(long_double_x
);
84 r
+= atanl(long_double_x
);
85 r
+= cbrtl(long_double_x
);
86 r
+= ceill(long_double_x
);
87 r
+= copysignl(long_double_x
, long_double_x
);
88 r
+= coshl(long_double_x
);
89 r
+= cosl(long_double_x
);
90 r
+= erfcl(long_double_x
);
91 r
+= erfl(long_double_x
);
92 r
+= exp2l(long_double_x
);
93 r
+= expl(long_double_x
);
94 r
+= expm1l(long_double_x
);
95 r
+= fabsl(long_double_x
);
96 r
+= fdiml(long_double_x
, long_double_x
);
97 r
+= floorl(long_double_x
);
98 r
+= fmal(long_double_x
, long_double_x
, long_double_x
);
99 r
+= fmaxl(long_double_x
, long_double_x
);
100 r
+= fminl(long_double_x
, long_double_x
);
101 r
+= fmodl(long_double_x
, long_double_x
);
102 r
+= frexpl(long_double_x
, &int_x
);
103 r
+= hypotl(long_double_x
, long_double_x
);
104 r
+= ilogbl(long_double_x
);
105 r
+= ldexpl(long_double_x
, int_x
);
106 r
+= lgammal(long_double_x
);
107 r
+= llrintl(long_double_x
);
108 r
+= llroundl(long_double_x
);
109 r
+= log10l(long_double_x
);
110 r
+= log1pl(long_double_x
);
111 r
+= log2l(long_double_x
);
112 r
+= logbl(long_double_x
);
113 r
+= logl(long_double_x
);
114 r
+= lrintl(long_double_x
);
115 r
+= lroundl(long_double_x
);
116 r
+= modfl(long_double_x
, &long_double_x
);
117 r
+= nearbyintl(long_double_x
);
118 r
+= nextafterl(long_double_x
, long_double_x
);
119 r
+= nexttowardl(long_double_x
, long_double_x
);
120 r
+= powl(long_double_x
, long_double_x
);
121 r
+= remainderl(long_double_x
, long_double_x
);
122 r
+= remquol(long_double_x
, long_double_x
, &int_x
);
123 r
+= rintl(long_double_x
);
124 r
+= roundl(long_double_x
);
125 r
+= scalblnl(long_double_x
, long_x
);
126 r
+= scalbnl(long_double_x
, int_x
);
127 r
+= sinhl(long_double_x
);
128 r
+= sinl(long_double_x
);
129 r
+= sqrtl(long_double_x
);
130 r
+= tanhl(long_double_x
);
131 r
+= tanl(long_double_x
);
132 r
+= tgammal(long_double_x
);
133 r
+= truncl(long_double_x
);
137 int main(int argc
, char **argv
)
139 /* Always 0 but gcc hopefully won't be able to notice */
140 return 5 & ((long)&testf
) & ((long)&testl
) & 2;