2 /* { dg-options "-O2 -ffast-math" } */
3 /* { dg-require-effective-target c99_runtime } */
5 extern int ilogbf (float);
6 extern float logbf (float);
7 extern int ilogb (double);
8 extern double logb (double);
9 extern int ilogbl (long double);
10 extern long double logbl (long double);
12 extern void link_error(void);
16 if ((int) logbf (x
) != ilogbf (x
))
22 if ((int) logb (x
) != ilogb (x
))
26 void testl(long double x
)
28 if ((int) logbl (x
) != ilogbl (x
))