]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/math/test/e_float_concept_check.cpp
2 // Copyright John Maddock 2011.
3 // Use, modification and distribution are subject to the
4 // Boost Software License, Version 1.0. (See accompanying file
5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 // This tests two things: that e_float meets our
9 // conceptual requirements, and that we can instantiate
10 // all our distributions and special functions on this type.
12 #define BOOST_MATH_ASSERT_UNDEFINED_POLICY false
16 # pragma warning(disable:4800)
17 # pragma warning(disable:4512)
18 # pragma warning(disable:4127)
19 # pragma warning(disable:4512)
20 # pragma warning(disable:4503) // decorated name length exceeded, name was truncated
23 #define E_FLOAT_TYPE_EFX
25 #include <boost/math/bindings/e_float.hpp>
27 #include <boost/math/concepts/real_type_concept.hpp>
28 #include "compile_test/instantiate.hpp"
32 instantiate(boost::math::ef::e_float());
37 BOOST_CONCEPT_ASSERT((boost::math::concepts::RealTypeConcept
<boost::math::ef::e_float
>));