]>
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 http://www.boost.org/LICENSE_1_
7 # define _SCL_SECURE_NO_WARNINGS
10 #include <boost/multiprecision/tommath.hpp>
13 #include "test_arithmetic.hpp"
15 #include <boost/rational.hpp>
18 struct is_boost_rational
<boost::rational
<T
> > : public boost::mpl::true_
{};
20 namespace boost
{ namespace multiprecision
{
23 struct number_category
<rational
<tom_int
> > : public mpl::int_
<number_kind_rational
> {};
29 test
<boost::rational
<boost::multiprecision::tom_int
> >();
30 return boost::report_errors();