flag `-march=native` leads to less precision and failing of `test_box`
The test test_box
fails since !145 due to the introduction of the compiler flag -march=native
. What fails is the volume comparison of two boxes that are constructed with different arguments (min/max coords vs lowerLeft/upperRight corners), but yield the same box.
Checking equality of the resulting volumes leads to a precision of 1e-15
, but the epsilon is the default epsilon^3, and thus, in the order of 1e-24
. Maybe the precision is ok, but then the question is how to choose adequate epsilons for volumes...