turbonss/cxxmph/mph_bits.cc

12 lines
347 B
C++
Raw Normal View History

#include "mph_bits.h"
namespace cxxmph {
2012-03-14 21:43:38 +02:00
const uint8_t dynamic_2bitset::vmask[] = { 0xfc, 0xf3, 0xcf, 0x3f};
2012-04-15 06:03:00 +03:00
dynamic_2bitset::dynamic_2bitset() : size_(0), fill_(false) {}
dynamic_2bitset::dynamic_2bitset(uint32_t size, bool fill)
: size_(size), fill_(fill), data_(ceil(size / 4.0), ones()*fill) {}
dynamic_2bitset::~dynamic_2bitset() {}
2012-03-14 21:43:38 +02:00
}