$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r67538 - sandbox/chrono/libs/ratio/test/ratio_comparison
From: vicente.botet_at_[hidden]
Date: 2011-01-01 10:55:30
Author: viboes
Date: 2011-01-01 10:55:12 EST (Sat, 01 Jan 2011)
New Revision: 67538
URL: http://svn.boost.org/trac/boost/changeset/67538
Log:
Ratio: test update 
Text files modified: 
   sandbox/chrono/libs/ratio/test/ratio_comparison/ratio_greater_equal_pass.cpp |    30 +++++++++---------------------          
   1 files changed, 9 insertions(+), 21 deletions(-)
Modified: sandbox/chrono/libs/ratio/test/ratio_comparison/ratio_greater_equal_pass.cpp
==============================================================================
--- sandbox/chrono/libs/ratio/test/ratio_comparison/ratio_greater_equal_pass.cpp	(original)
+++ sandbox/chrono/libs/ratio/test/ratio_comparison/ratio_greater_equal_pass.cpp	2011-01-01 10:55:12 EST (Sat, 01 Jan 2011)
@@ -25,27 +25,16 @@
     typedef boost::ratio<1, 1> R2;
     BOOST_RATIO_STATIC_ASSERT((boost::ratio_greater_equal<R1, R2>::value), NOTHING, ());
     }
-//    {
-//    typedef std::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R1;
-//    typedef std::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R2;
-//    BOOST_RATIO_STATIC_ASSERT((std::ratio_greater_equal<R1, R2>::value), NOTHING, ());
-//    }
-//    {
-//    typedef std::ratio<1,BOOST_RATIO_INTMAX_T_MAX> R1;
-//    typedef std::ratio<1,BOOST_RATIO_INTMAX_T_MAX> R2;
-//    BOOST_RATIO_STATIC_ASSERT((std::ratio_greater_equal<R1, R2>::value), NOTHING, ());
-//    }
-    {
-        typedef boost::mpl::integral_c<long long int, 0xffffffffffffffffLL> LL;
-        typedef boost::mpl::integral_c<boost::intmax_t, LLONG_MAX> LL2;
-        typedef boost::mpl::integral_c<boost::intmax_t, -LLONG_MAX> LL3;
-        boost::intmax_t i = boost::integer::static_signed_sign<BOOST_RATIO_INTMAX_T_MAX>::value;
-        boost::intmax_t j = boost::integer::static_signed_abs<BOOST_RATIO_INTMAX_T_MAX-1>::value;
-        typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R1;
-        typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R2;
-//    BOOST_RATIO_STATIC_ASSERT((boost::ratio_greater_equal<R1, R2>::value), NOTHING, ());
+    {
+    typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R1;
+    typedef boost::ratio<BOOST_RATIO_INTMAX_T_MAX, 1> R2;
+    BOOST_RATIO_STATIC_ASSERT((boost::ratio_greater_equal<R1, R2>::value), NOTHING, ());
+    }
+    {
+    typedef boost::ratio<1,BOOST_RATIO_INTMAX_T_MAX> R1;
+    typedef boost::ratio<1,BOOST_RATIO_INTMAX_T_MAX> R2;
+    BOOST_RATIO_STATIC_ASSERT((boost::ratio_greater_equal<R1, R2>::value), NOTHING, ());
     }
-#if 0
     {
     typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R1;
     typedef boost::ratio<-BOOST_RATIO_INTMAX_T_MAX, 1> R2;
@@ -76,5 +65,4 @@
     typedef boost::ratio<1, -BOOST_RATIO_INTMAX_T_MAX> R2;
     BOOST_RATIO_STATIC_ASSERT((boost::ratio_greater_equal<R1, R2>::value), NOTHING, ());
     }
-#endif
 }