Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64409 - in sandbox/SOC/2010/bits_and_ints: boost/integer libs/integer/test
From: muriloufg_at_[hidden]
Date: 2010-07-28 09:20:29


Author: murilov
Date: 2010-07-28 09:20:26 EDT (Wed, 28 Jul 2010)
New Revision: 64409
URL: http://svn.boost.org/trac/boost/changeset/64409

Log:
Cosmetic changes
Text files modified:
   sandbox/SOC/2010/bits_and_ints/boost/integer/ilog2.hpp | 5 ++---
   sandbox/SOC/2010/bits_and_ints/libs/integer/test/Jamfile.v2 | 1 +
   sandbox/SOC/2010/bits_and_ints/libs/integer/test/bit_reversal_test.cpp | 2 +-
   sandbox/SOC/2010/bits_and_ints/libs/integer/test/clear_least_bit_set_test.cpp | 3 +--
   sandbox/SOC/2010/bits_and_ints/libs/integer/test/count_leading_zeros_test.cpp | 3 +--
   sandbox/SOC/2010/bits_and_ints/libs/integer/test/count_trailing_zeros_test.cpp | 3 +--
   sandbox/SOC/2010/bits_and_ints/libs/integer/test/ilog2_test.cpp | 3 +--
   sandbox/SOC/2010/bits_and_ints/libs/integer/test/inc_rev_test.cpp | 3 +--
   sandbox/SOC/2010/bits_and_ints/libs/integer/test/isign_test.cpp | 3 +--
   sandbox/SOC/2010/bits_and_ints/libs/integer/test/isqrt_test.cpp | 5 +----
   sandbox/SOC/2010/bits_and_ints/libs/integer/test/pop_count_test.cpp | 3 +--
   sandbox/SOC/2010/bits_and_ints/libs/integer/test/safe_avg_test.cpp | 3 +--
   sandbox/SOC/2010/bits_and_ints/libs/integer/test/same_sign_test.cpp | 2 +-
   sandbox/SOC/2010/bits_and_ints/libs/integer/test/sign_extend_test.cpp | 2 +-
   sandbox/SOC/2010/bits_and_ints/libs/integer/test/sign_test.cpp | 3 +--
   sandbox/SOC/2010/bits_and_ints/libs/integer/test/static_abs_test.cpp | 2 +-
   sandbox/SOC/2010/bits_and_ints/libs/integer/test/static_gcd_test.cpp | 3 +--
   sandbox/SOC/2010/bits_and_ints/libs/integer/test/static_lcm_test.cpp | 3 +--
   18 files changed, 19 insertions(+), 33 deletions(-)

Modified: sandbox/SOC/2010/bits_and_ints/boost/integer/ilog2.hpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/boost/integer/ilog2.hpp (original)
+++ sandbox/SOC/2010/bits_and_ints/boost/integer/ilog2.hpp 2010-07-28 09:20:26 EDT (Wed, 28 Jul 2010)
@@ -10,7 +10,6 @@
 #ifndef BOOST_ILOG2_INCLUDED
 #define BOOST_ILOG2_INCLUDED
 
-#include <boost/static_assert.hpp>
 #include <boost/utility/enable_if.hpp>
 #include <boost/type_traits/is_unsigned.hpp>
 #include <boost/math/policies/policy.hpp>
@@ -28,7 +27,7 @@
  *
  * See the math::policies documentation for more details.
  *
- * `value` must be unsigned.
+ * `T` must be unsigned.
  */
 template <typename T, typename Policy>
 inline typename enable_if<is_unsigned<T>, int>::type
@@ -37,7 +36,7 @@
         if (value == 0) {
                 return math::policies::raise_indeterminate_result_error(
                         "boost::ilog2(%1%)",
- "ilog2 is indeterminate for value %1%, retunrning -1",
+ "ilog2 is indeterminate for value %1%, returning -1",
                         0, -1, pol
                 );
         }

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/test/Jamfile.v2
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/test/Jamfile.v2 (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/test/Jamfile.v2 2010-07-28 09:20:26 EDT (Wed, 28 Jul 2010)
@@ -30,6 +30,7 @@
                 [ run ilog2_test.cpp ]
                 [ run inc_rev_test.cpp ]
                 [ run isqrt_test.cpp ]
+ [ run find_first_one_string_test.cpp ]
                 [ compile cstdint_include_test.cpp ]
                 [ compile integer_traits_include_test.cpp ]
                 [ compile integer_include_test.cpp ]

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/test/bit_reversal_test.cpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/test/bit_reversal_test.cpp (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/test/bit_reversal_test.cpp 2010-07-28 09:20:26 EDT (Wed, 28 Jul 2010)
@@ -1,4 +1,4 @@
-// Boost bit_reversal_test.hpp test program --------------------------------------//
+// Boost integer/bit_reversal.hpp test program ----------------//
 
 // (C) Copyright Murilo Adriano Vasconcelos 2010.
 // Distributed under the Boost Software License, Version 1.0. (See

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/test/clear_least_bit_set_test.cpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/test/clear_least_bit_set_test.cpp (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/test/clear_least_bit_set_test.cpp 2010-07-28 09:20:26 EDT (Wed, 28 Jul 2010)
@@ -1,5 +1,4 @@
-// Boost clear_least_bit_set_test.hpp test program --------------------------------------//
-
+// Boost integer/clear_least_bit_set.hpp test program ---------//
 // (C) Copyright Murilo Adriano Vasconcelos 2010.
 // Distributed under the Boost Software License, Version 1.0. (See
 // accompanying file LICENSE_1_0.txt or copy at

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/test/count_leading_zeros_test.cpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/test/count_leading_zeros_test.cpp (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/test/count_leading_zeros_test.cpp 2010-07-28 09:20:26 EDT (Wed, 28 Jul 2010)
@@ -1,5 +1,4 @@
-// Boost count_leading_zeros_test.hpp test program --------------------------------------//
-
+// Boost integer/count_leading_zeros.hpp test program ---------//
 // (C) Copyright Murilo Adriano Vasconcelos 2010.
 // Distributed under the Boost Software License, Version 1.0. (See
 // accompanying file LICENSE_1_0.txt or copy at

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/test/count_trailing_zeros_test.cpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/test/count_trailing_zeros_test.cpp (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/test/count_trailing_zeros_test.cpp 2010-07-28 09:20:26 EDT (Wed, 28 Jul 2010)
@@ -1,5 +1,4 @@
-// Boost count_trailing_zeros_test.hpp test program --------------------------------------//
-
+// Boost integer/count_trailing_zeros.hpp test program --------//
 // (C) Copyright Murilo Adriano Vasconcelos 2010.
 // Distributed under the Boost Software License, Version 1.0. (See
 // accompanying file LICENSE_1_0.txt or copy at

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/test/ilog2_test.cpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/test/ilog2_test.cpp (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/test/ilog2_test.cpp 2010-07-28 09:20:26 EDT (Wed, 28 Jul 2010)
@@ -1,5 +1,4 @@
-// Boost ilog2_test.hpp test program --------------------------------------//
-
+// Boost integer/ilog2.hpp test program -----------------------//
 // (C) Copyright Murilo Adriano Vasconcelos 2010.
 // Distributed under the Boost Software License, Version 1.0. (See
 // accompanying file LICENSE_1_0.txt or copy at

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/test/inc_rev_test.cpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/test/inc_rev_test.cpp (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/test/inc_rev_test.cpp 2010-07-28 09:20:26 EDT (Wed, 28 Jul 2010)
@@ -1,5 +1,4 @@
-// Boost count_leading_zeros_test.hpp test program --------------------------------------//
-
+// Boost integer/inc_rev.hpp test program ---------------------//
 // (C) Copyright Murilo Adriano Vasconcelos 2010.
 // Distributed under the Boost Software License, Version 1.0. (See
 // accompanying file LICENSE_1_0.txt or copy at

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/test/isign_test.cpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/test/isign_test.cpp (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/test/isign_test.cpp 2010-07-28 09:20:26 EDT (Wed, 28 Jul 2010)
@@ -1,5 +1,4 @@
-// Boost isign_test.hpp test program --------------------------------------//
-
+// Boost integer/isign.hpp test program -----------------------//
 // (C) Copyright Murilo Adriano Vasconcelos 2010.
 // Distributed under the Boost Software License, Version 1.0. (See
 // accompanying file LICENSE_1_0.txt or copy at

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/test/isqrt_test.cpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/test/isqrt_test.cpp (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/test/isqrt_test.cpp 2010-07-28 09:20:26 EDT (Wed, 28 Jul 2010)
@@ -1,5 +1,4 @@
-// Boost count_leading_zeros_test.hpp test program --------------------------------------//
-
+// Boost integer/isqrt.hpp test program -----------------------//
 // (C) Copyright Murilo Adriano Vasconcelos 2010.
 // Distributed under the Boost Software License, Version 1.0. (See
 // accompanying file LICENSE_1_0.txt or copy at
@@ -13,8 +12,6 @@
 #include <boost/detail/lightweight_test.hpp>
 #include <boost/integer/isqrt.hpp>
 
-
-
 int main()
 {
         

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/test/pop_count_test.cpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/test/pop_count_test.cpp (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/test/pop_count_test.cpp 2010-07-28 09:20:26 EDT (Wed, 28 Jul 2010)
@@ -1,5 +1,4 @@
-// Boost pop_count_test.hpp test program --------------------------------------//
-
+// Boost integer/pop_count.hpp test program --------------------//
 // (C) Copyright Murilo Adriano Vasconcelos 2010.
 // Distributed under the Boost Software License, Version 1.0. (See
 // accompanying file LICENSE_1_0.txt or copy at

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/test/safe_avg_test.cpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/test/safe_avg_test.cpp (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/test/safe_avg_test.cpp 2010-07-28 09:20:26 EDT (Wed, 28 Jul 2010)
@@ -1,5 +1,4 @@
-// Boost safe_avg_test.hpp test program --------------------------------------//
-
+// Boost integer/safe_avg.hpp test program --------------------//
 // (C) Copyright Murilo Adriano Vasconcelos 2010.
 // Distributed under the Boost Software License, Version 1.0. (See
 // accompanying file LICENSE_1_0.txt or copy at

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/test/same_sign_test.cpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/test/same_sign_test.cpp (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/test/same_sign_test.cpp 2010-07-28 09:20:26 EDT (Wed, 28 Jul 2010)
@@ -1,4 +1,4 @@
-// Boost same_sign_test.hpp test program --------------------------------------//
+// Boost integer/same_sign.hpp test program -------------------//
 
 // (C) Copyright Murilo Adriano Vasconcelos 2010.
 // Distributed under the Boost Software License, Version 1.0. (See

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/test/sign_extend_test.cpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/test/sign_extend_test.cpp (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/test/sign_extend_test.cpp 2010-07-28 09:20:26 EDT (Wed, 28 Jul 2010)
@@ -1,4 +1,4 @@
-// Boost sign_extend.hpp test program --------------------------------------//
+// Boost integer/sign_extend.hpp test program ------------------//
 
 // (C) Copyright Murilo Adriano Vasconcelos 2010.
 // Distributed under the Boost Software License, Version 1.0. (See

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/test/sign_test.cpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/test/sign_test.cpp (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/test/sign_test.cpp 2010-07-28 09:20:26 EDT (Wed, 28 Jul 2010)
@@ -1,5 +1,4 @@
-// Boost bit_reversal_test.hpp test program --------------------------------------//
-
+// Boost integer/sign.hpp test program ------------------------//
 // (C) Copyright Murilo Adriano Vasconcelos 2010.
 // Distributed under the Boost Software License, Version 1.0. (See
 // accompanying file LICENSE_1_0.txt or copy at

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/test/static_abs_test.cpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/test/static_abs_test.cpp (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/test/static_abs_test.cpp 2010-07-28 09:20:26 EDT (Wed, 28 Jul 2010)
@@ -1,4 +1,4 @@
-// Boost static_abs_test.hpp test program --------------------------------------//
+// Boost integer/static_abs.hpp test program ------------------//
 
 // (C) Copyright Murilo Adriano Vasconcelos 2010.
 // Distributed under the Boost Software License, Version 1.0. (See

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/test/static_gcd_test.cpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/test/static_gcd_test.cpp (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/test/static_gcd_test.cpp 2010-07-28 09:20:26 EDT (Wed, 28 Jul 2010)
@@ -1,5 +1,4 @@
-// Boost static_abs_test.hpp test program --------------------------------------//
-
+// Boost integer/static_abs.hpp test program -------------------//
 // (C) Copyright Murilo Adriano Vasconcelos 2010.
 // Distributed under the Boost Software License, Version 1.0. (See
 // accompanying file LICENSE_1_0.txt or copy at

Modified: sandbox/SOC/2010/bits_and_ints/libs/integer/test/static_lcm_test.cpp
==============================================================================
--- sandbox/SOC/2010/bits_and_ints/libs/integer/test/static_lcm_test.cpp (original)
+++ sandbox/SOC/2010/bits_and_ints/libs/integer/test/static_lcm_test.cpp 2010-07-28 09:20:26 EDT (Wed, 28 Jul 2010)
@@ -1,5 +1,4 @@
-// Boost static_abs_test.hpp test program --------------------------------------//
-
+// Boost integer/static_abs.hpp test program ------------------//
 // (C) Copyright Murilo Adriano Vasconcelos 2010.
 // Distributed under the Boost Software License, Version 1.0. (See
 // accompanying file LICENSE_1_0.txt or copy at


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk