25 unsigned int bit = dec.
nBits();
27 o <<
"decision (1 bit, position " << dec.
firstBit() <<
"): ";
29 o <<
"decision (" << dec.
nBits() <<
" bits, position " << dec.
firstBit() <<
" - " << dec.
lastBit() <<
"): ";
32 o << (dec.
bit(--bit)?1:0);
34 o <<
"(overflow "<<dec.
overflow()<<
")";
#define TCS_EXCEPTION(MSG)
unsigned int lastBit() const
bool bit(unsigned int index) const
unsigned int nBits() const
void setBit(unsigned int index, bool value)
unsigned int firstBit() const
std::ostream & operator<<(std::ostream &os, const TCS::Bin &bin)