Add Endian specific lightweight_test.hpp with new macro BOOST_TEST_MEMCMP_EQ that uses std::memcmp(...)==0 to determine equality. Bitwise equality is the standard we want floating point round trips to be held to, since NaN's are then equal.

This commit is contained in:
Beman committed 2015-03-05 10:52:28 -05:00
1 parent 482bcb0855
commit 072b495240
7 files changed
+244 -10

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@
#include <boost/endian/conversion.hpp>
#include <boost/detail/lightweight_main.hpp>
#include <boost/detail/lightweight_test.hpp>
#include <boost/core/lightweight_test.hpp>
#include <iostream>
#include <cstring>