diff options
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r-- | math/libm-test.inc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index f86a4fa054..b44b2db7c9 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -590,6 +590,7 @@ print_complex_max_error (const char *func_name) } +#if FE_ALL_EXCEPT /* Test whether a given exception was raised. */ static void test_single_exception (const char *test_name, @@ -598,7 +599,7 @@ test_single_exception (const char *test_name, int fe_flag, const char *flag_name) { -#ifndef TEST_INLINE +# ifndef TEST_INLINE int ok = 1; if (exception & exc_flag) { @@ -634,9 +635,9 @@ test_single_exception (const char *test_name, if (!ok) ++noErrors; -#endif +# endif } - +#endif /* Test whether exceptions given by EXCEPTION are raised. Ignore thereby allowed but not required exceptions. |