diff options
Diffstat (limited to 'pl/math/include/pl_test.h')
-rw-r--r-- | pl/math/include/pl_test.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pl/math/include/pl_test.h b/pl/math/include/pl_test.h index 1ab3814..8999efa 100644 --- a/pl/math/include/pl_test.h +++ b/pl/math/include/pl_test.h @@ -14,3 +14,9 @@ strong_alias. Use PL_ALIAS instead of strong_alias to make sure the alias is also added to the test suite. */ #define PL_ALIAS(a, b) strong_alias (a, b) + +/* Emit routine name if e == 1 and f is expected to correctly trigger fenv + exceptions. e allows declaration to be emitted conditionally upon certain + build flags - defer expansion by one pass to allow those flags to be expanded + properly. */ +#define PL_TEST_EXPECT_FENV(f, e) |