|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62940 - sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing
From: bbartmanboost_at_[hidden]
Date: 2010-06-14 14:16:07
Author: bbartman
Date: 2010-06-14 14:16:07 EDT (Mon, 14 Jun 2010)
New Revision: 62940
URL: http://svn.boost.org/trac/boost/changeset/62940
Log:
working on fixing some of the logic within the arbitrary twos complement
Text files modified:
sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/twos_complement_testing.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/twos_complement_testing.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/twos_complement_testing.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bft_testing/twos_complement_testing.cpp 2010-06-14 14:16:07 EDT (Mon, 14 Jun 2010)
@@ -118,7 +118,8 @@
Decoding_Type,
Width,
Return_Type,
- is_signed<Return_Type>::value
+ is_signed<Return_Type>::value &&
+ bit_width<Return_Type>::value != Width
>()( x );
}
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