gcc/testsuite/gcc.dg/dfp/dfp-except.h
raw| 1 | /* Use undocumented functions in libgcc to clear and test dummy floating |
| 2 | point exception flags. That functionality is in libgcc just for |
| 3 | testing purposes. |
| 4 | |
| 5 | If fesetexcept and feclearexcept are available, use those instead. */ |
| 6 | |
| 7 | /* Get names of exception flags. */ |
| 8 | #include <fenv.h> |
| 9 | |
| 10 | extern void __dfp_clear_except (int); |
| 11 | #define DFP_CLEAR_EXCEPT(M) __dfp_clear_except(M) |
| 12 | extern int __dfp_test_except (int); |
| 13 | #define DFP_TEST_EXCEPT(M) __dfp_test_except(M) |