Brian Silverman | 32ed54e | 2018-08-04 23:37:28 -0700 | [diff] [blame^] | 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 | |