2 /* { dg-options "-fno-finite-math-only" } */
8 if (__builtin_isgreater(1.0,__builtin_nan("")) != 0)
10 if (__builtin_isgreater(__builtin_nan(""),1.0) != 0)
13 if (__builtin_isgreaterequal(1.0,__builtin_nan("")) != 0)
15 if (__builtin_isgreaterequal(__builtin_nan(""),1.0) != 0)
18 if (__builtin_isless(1.0,__builtin_nan("")) != 0)
20 if (__builtin_isless(__builtin_nan(""),1.0) != 0)
23 if (__builtin_islessequal(1.0,__builtin_nan("")) != 0)
25 if (__builtin_islessequal(__builtin_nan(""),1.0) != 0)
28 if (__builtin_islessgreater(1.0,__builtin_nan("")) != 0)
30 if (__builtin_islessgreater(__builtin_nan(""),1.0) != 0)
33 if (__builtin_isunordered(1.0,__builtin_nan("")) == 0)
35 if (__builtin_isunordered(__builtin_nan(""),1.0) == 0)
42 if (__builtin_isgreater(x
,__builtin_nan("")) != 0)
44 if (__builtin_isgreater(__builtin_nan(""),x
) != 0)
47 if (__builtin_isgreaterequal(x
,__builtin_nan("")) != 0)
49 if (__builtin_isgreaterequal(__builtin_nan(""),x
) != 0)
52 if (__builtin_isless(x
,__builtin_nan("")) != 0)
54 if (__builtin_isless(__builtin_nan(""),x
) != 0)
57 if (__builtin_islessequal(x
,__builtin_nan("")) != 0)
59 if (__builtin_islessequal(__builtin_nan(""),x
) != 0)
62 if (__builtin_islessgreater(x
,__builtin_nan("")) != 0)
64 if (__builtin_islessgreater(__builtin_nan(""),x
) != 0)
67 if (__builtin_isunordered(x
,__builtin_nan("")) == 0)
69 if (__builtin_isunordered(__builtin_nan(""),x
) == 0)