From e0737c56c1e384e05064a0c6e1ac46979371041b Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Wed, 19 Dec 2018 22:58:32 +0100 Subject: New upstream version 2.0.0+repack --- boost/libs/math/config/has_128bit_floatmax_t.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 boost/libs/math/config/has_128bit_floatmax_t.cpp (limited to 'boost/libs/math/config/has_128bit_floatmax_t.cpp') diff --git a/boost/libs/math/config/has_128bit_floatmax_t.cpp b/boost/libs/math/config/has_128bit_floatmax_t.cpp new file mode 100644 index 00000000..aee4837c --- /dev/null +++ b/boost/libs/math/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 +#include + +#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; +} + -- cgit v1.2.3