Files
multiprecision/test/include_test/cpp_int_include_test.cpp
John Maddock a857186cb4 Big "blow it away and start again" refactoring of cpp_int.
Adds support for runtime checking, enumerated template params, fixed precision with allocator, and no "hidden" template parameters.

[SVN r81054]
2012-10-24 16:00:05 +00:00

17 lines
633 B
C++

///////////////////////////////////////////////////////////////
// Copyright 2012 John Maddock. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_
#include <boost/multiprecision/cpp_int.hpp>
using namespace boost::multiprecision;
number<cpp_int_backend<> > a;
number<cpp_int_backend<>, et_off> b;
number<cpp_int_backend<64, 64, signed_magnitude, checked, void>, et_off> c;
number<cpp_int_backend<128, 128, signed_magnitude, checked, void>, et_off> d;
number<cpp_int_backend<500, 500, signed_magnitude, checked, void>, et_off> e;