1 /* Copyright (C) 2004 Free Software Foundation.
3 Check that constant folding of signbit, signbitf and signbitl math
4 functions doesn't break anything and produces the expected results.
6 Written by Roger Sayle, 28th January 2004. */
9 /* { dg-options "-O2" } */
11 extern void abort(void);
13 extern int signbit(double);
14 extern int signbitf(float);
33 if (testf (1.0f) != 0)
35 if (testf (-2.0f) == 0)