]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/multiprecision/test/test_arithmetic_tommath_br.cpp
1 ///////////////////////////////////////////////////////////////
2 // Copyright 2012 John Maddock. Distributed under the Boost
3 // Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
7 #define _SCL_SECURE_NO_WARNINGS
10 #include <boost/multiprecision/tommath.hpp>
13 #define BOOST_MP_NOT_TESTING_NUMBER
15 #include "test_arithmetic.hpp"
17 #include <boost/rational.hpp>
20 struct is_boost_rational
<boost::rational
<T
> > : public std::integral_constant
<bool, true>
23 namespace boost
{ namespace multiprecision
{
26 struct number_category
<rational
<tom_int
> > : public std::integral_constant
<int, number_kind_rational
>
29 }} // namespace boost::multiprecision
33 test
<boost::rational
<boost::multiprecision::tom_int
> >();
34 return boost::report_errors();