Sorry fixed.hpp dont compile, my compiler(msvc10) no understand is: 0llu or 1llu are constants? Fixed() : value(0llu) {} static const int64_t ShiftValue = (1llu<<Shift); thanks!