Squashed 'third_party/boostorg/math/' content from commit 0e9549f
Change-Id: I7c2a13cb6a5beea4a471341510d8364cedd71613
git-subtree-dir: third_party/boostorg/math
git-subtree-split: 0e9549ff2f854e6edafaf4627d65026f2f533a18
diff --git a/config/has_128bit_floatmax_t.cpp b/config/has_128bit_floatmax_t.cpp
new file mode 100644
index 0000000..aee4837
--- /dev/null
+++ b/config/has_128bit_floatmax_t.cpp
@@ -0,0 +1,19 @@
+// Copyright John Maddock 2014.
+// Use, modification and distribution are subject to the
+// Boost Software License, Version 1.0. (See accompanying file
+// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+#include <boost/cstdfloat.hpp>
+#include <boost/static_assert.hpp>
+
+#ifndef BOOST_FLOAT128_C
+#error "There is no 128 bit floating point type"
+#endif
+
+BOOST_STATIC_ASSERT(sizeof(boost::floatmax_t) * CHAR_BIT == 128);
+
+int main()
+{
+ return 0;
+}
+