1 /* { dg-do compile } */
2 /* { dg-options "-O -ffast-math" } */
4 double test1 (double x
)
6 return __builtin_pow (x
, 1./2.);
9 double test2 (double x
)
11 return __builtin_pow (x
, 3./2.);
14 double test3 (double x
)
16 return __builtin_pow (x
, 5./2.);
19 double test4 (double x
)
21 return __builtin_pow (x
, -5./2.);
24 /* { dg-final { scan-assembler-not "call\[ \t\]*pow" } } */