Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / math / config / has_128bit_floatmax_t.cpp
1 //  Copyright John Maddock 2014.
2 //  Use, modification and distribution are subject to the
3 //  Boost Software License, Version 1.0. (See accompanying file
4 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6 #include <boost/cstdfloat.hpp>
7 #include <boost/static_assert.hpp>
8
9 #ifndef BOOST_FLOAT128_C
10 #error "There is no 128 bit floating point type"
11 #endif
12
13 BOOST_STATIC_ASSERT(sizeof(boost::floatmax_t) * CHAR_BIT == 128);
14
15 int main()
16 {
17    return 0;
18 }
19