| 90 | } |
| 91 | |
| 92 | void IEEE754ExceptionsPlugin::ieee754Check(UtestShell& test, TestResult& result, int flag, const char* text) |
| 93 | { |
| 94 | result.countCheck(); |
| 95 | if(inexactDisabled_) CHECK(!feclearexcept(FE_INEXACT)); |
| 96 | if(fetestexcept(flag)) { |
| 97 | CHECK(!feclearexcept(FE_ALL_EXCEPT)); |
| 98 | CheckFailure failure(&test, __FILE__, __LINE__, "IEEE754_CHECK_CLEAR", text); |
| 99 | result.addFailure(failure); |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | #else |
| 104 |
nothing calls this directly
no test coverage detected