mirror of
https://github.com/boostorg/ratio.git
synced 2025-05-09 23:24:01 +00:00
Boost.Ratio: cleanup
[SVN r67579]
This commit is contained in:
parent
66a7d4509c
commit
f446fbda67
@ -65,9 +65,6 @@ void test()
|
|||||||
BOOST_RATIO_STATIC_ASSERT(R::num == 127970191639601LL && R::den == 5177331081415LL, NOTHING, ());
|
BOOST_RATIO_STATIC_ASSERT(R::num == 127970191639601LL && R::den == 5177331081415LL, NOTHING, ());
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
typedef boost::mpl::integral_c<boost::intmax_t, 0x7FFFFFFFFFFFFFFF> T;
|
|
||||||
BOOST_RATIO_STATIC_ASSERT(T::value == 0x7FFFFFFFFFFFFFFF, NOTHING, ());
|
|
||||||
|
|
||||||
typedef boost::ratio<BOOST_RATIO_INTMAX_C(0x7FFFFFFFFFFFFFFF), 1> R1;
|
typedef boost::ratio<BOOST_RATIO_INTMAX_C(0x7FFFFFFFFFFFFFFF), 1> R1;
|
||||||
typedef boost::ratio<-1, 1> R2;
|
typedef boost::ratio<-1, 1> R2;
|
||||||
typedef boost::ratio_add<R1, R2>::type RT;
|
typedef boost::ratio_add<R1, R2>::type RT;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user