Changed by: brysonda
Changed at: Tue 30 Jun 2009 17:19:26
Revision: 3347
Changed files:
Add unit tests to the unit testing framework for the recently implemented increment operators in cBitArray. Also fix LeftShift operation on PowerPC. Apparently GCC on i386 systems truncates variable shifts to 5 bits before performing the shift. On PowerPC, the full value of the variable shift is honored, thus it will allow shifts to flush away all bits. The intent of the masking statement is to have no effect when num_bits % 32 is 0, thus I have simply made the masking effect of the i386 version explicit so that it will work on all platforms.
This tree was built from a specific set of source files, and can be rebuilt exactly