multiprecision/test/standalone_test_arithmetic_tommath.cpp
2021-12-17 23:13:24 +02:00

25 lines
668 B
C++

///////////////////////////////////////////////////////////////
// Copyright 2012 John Maddock.
// Copyright 2021 Matt Borland. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
#ifdef _MSC_VER
#define _SCL_SECURE_NO_WARNINGS
#endif
#define BOOST_MP_STANDALONE
#include "test_arithmetic.hpp"
#include <boost/multiprecision/tommath.hpp>
template <>
struct is_twos_complement_integer<boost::multiprecision::tom_int> : public std::integral_constant<bool, false>
{};
int main()
{
test<boost::multiprecision::tom_int>();
return boost::report_errors();
}