1 /* Check that conversion functions don't leak into global namespace.  */
2 
3 /* { dg-do link } */
4 /* { dg-options "-ffast-math" }  */
5 
6 #include "../../gcc.dg/builtins-config.h"
7 
ifloor(double a)8 int ifloor (double a) { return __builtin_ifloor (a); }
9 #ifdef HAVE_C99_RUNTIME
ifloorf(float a)10 int ifloorf (float a) { return __builtin_ifloorf (a); }
ifloorl(long double a)11 int ifloorl (long double a) { return __builtin_ifloorl (a); }
12 #endif
13 
lfloor(double a)14 long lfloor (double a) { return __builtin_lfloor (a); }
15 #ifdef HAVE_C99_RUNTIME
lfloorf(float a)16 long lfloorf (float a) { return __builtin_lfloorf (a); }
lfloorl(long double a)17 long lfloorl (long double a) { return __builtin_lfloorl (a); }
18 #endif
19 
llfloor(double a)20 long long llfloor (double a) { return __builtin_llfloor (a); }
21 #ifdef HAVE_C99_RUNTIME
llfloorf(float a)22 long long llfloorf (float a) { return __builtin_llfloorf (a); }
llfloorl(long double a)23 long long llfloorl (long double a) { return __builtin_llfloorl (a); }
24 #endif
25 
iceil(double a)26 int iceil (double a) { return __builtin_iceil (a); }
27 #ifdef HAVE_C99_RUNTIME
iceilf(float a)28 int iceilf (float a) { return __builtin_iceilf (a); }
iceill(long double a)29 int iceill (long double a) { return __builtin_iceill (a); }
30 #endif
31 
lceil(double a)32 long lceil (double a) { return __builtin_lceil (a); }
33 #ifdef HAVE_C99_RUNTIME
lceilf(float a)34 long lceilf (float a) { return __builtin_lceilf (a); }
lceill(long double a)35 long lceill (long double a) { return __builtin_lceill (a); }
36 #endif
37 
llceil(double a)38 long long llceil (double a) { return __builtin_llceil (a); }
39 #ifdef HAVE_C99_RUNTIME
llceilf(float a)40 long long llceilf (float a) { return __builtin_llceilf (a); }
llceill(long double a)41 long long llceill (long double a) { return __builtin_llceill (a); }
42 #endif
43 
iround(double a)44 int iround (double a) { return __builtin_iround (a); }
45 #ifdef HAVE_C99_RUNTIME
iroundf(float a)46 int iroundf (float a) { return __builtin_iroundf (a); }
iroundl(long double a)47 int iroundl (long double a) { return __builtin_iroundl (a); }
48 #endif
49 
irint(double a)50 int irint (double a) { return __builtin_irint (a); }
51 #ifdef HAVE_C99_RUNTIME
irintf(float a)52 int irintf (float a) { return __builtin_irintf (a); }
irintl(long double a)53 int irintl (long double a) { return __builtin_irintl (a); }
54 #endif
55 
main()56 int main () { return 0; }
57