2 /* { dg-options "-fno-inline -Os" } */
7 float powif(float x, int n)
9 return __builtin_powif(x, n);
12 double powi(double x, int n)
14 return __builtin_powi(x, n);
17 long double powil(long double x, int n)
19 return __builtin_powil(x, n);
25 return __builtin_powif(x, 5);
28 double powci(double x)
30 return __builtin_powi(x, 5);
33 long double powcil(long double x)
35 return __builtin_powil(x, 5);
41 return __builtin_powif(2.0, n);
46 return __builtin_powi(2.0, n);
49 long double powicl(int n)
51 return __builtin_powil(2.0, n);
57 if (__builtin_powi(1.0, 5) != 1.0)
59 if (__builtin_powif(1.0, 5) != 1.0)
61 if (__builtin_powil(1.0, 5) != 1.0)
63 if (powci(1.0) != 1.0)
65 if (powcif(1.0) != 1.0)
67 if (powcil(1.0) != 1.0)
69 if (powi(1.0, -5) != 1.0)
71 if (powif(1.0, -5) != 1.0)
73 if (powil(1.0, -5) != 1.0)