File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 99 */
1010
1111#include < cmath>
12+ #include < limits>
1213
1314#include " eckit/maths/FloatingPointExceptions.h"
1415#include " eckit/types/FloatCompare.h"
@@ -332,5 +333,6 @@ CASE("test_comparisons_ulps") {
332333// ----------------------------------------------------------------------------------------------------------------------
333334
334335int main (int argc, char ** argv) {
336+ eckit::maths::FloatingPointExceptions::enable_floating_point_exceptions ();
335337 return eckit::testing::run_tests (argc, argv);
336338}
Original file line number Diff line number Diff line change 99 */
1010
1111#include < cmath>
12+ #include < limits>
1213
1314#include " eckit/maths/FloatingPointExceptions.h"
1415#include " eckit/types/FloatCompare.h"
@@ -332,5 +333,6 @@ CASE("test_comparisons_ulps") {
332333// ----------------------------------------------------------------------------------------------------------------------
333334
334335int main (int argc, char ** argv) {
336+ eckit::maths::FloatingPointExceptions::enable_floating_point_exceptions ();
335337 return eckit::testing::run_tests (argc, argv);
336338}
You can’t perform that action at this time.
0 commit comments