|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62989 - sandbox/SOC/2010/bits_and_ints/libs/integer/test
From: muriloufg_at_[hidden]
Date: 2010-06-15 13:49:21
Author: murilov
Date: 2010-06-15 13:49:20 EDT (Tue, 15 Jun 2010)
New Revision: 62989
URL: http://svn.boost.org/trac/boost/changeset/62989
Log:
Removed the overloads of the bit_reversal function wich is no longer needed. Reworked teh bit_reversal function to be more generic.
Fixed the static_bit_reversal function to pass the tests.
Text files modified:
sandbox/SOC/2010/bits_and_ints/libs/integer/test/bit_reversal_test.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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-06-15 13:49:20 EDT (Tue, 15 Jun 2010)
@@ -108,7 +108,7 @@
}
STATIC_BIT_REVERSAL_TEST(uint64_t, 0, 0);
- STATIC_BIT_REVERSAL_TEST(uint64_t, 1, uint64_t(1) << 63);
+ STATIC_BIT_REVERSAL_TEST(uint64_t, uint64_t(1), uint64_t(1) << 63);
STATIC_BIT_REVERSAL_TEST(uint64_t, 2, uint64_t(1) << 62);
STATIC_BIT_REVERSAL_TEST(uint64_t, 4, uint64_t(1) << 61);
STATIC_BIT_REVERSAL_TEST(uint64_t, 8, uint64_t(1) << 60);
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