ref: b7ceec2baedb776a2862cb32a6a023679372b1aa dir: /libentcode/bitrenc.c/
#include "bitrenc.h" void ec_bitree_update(unsigned *_this,int _sz,int _sym,int _val){ do{ _this[_sym]+=_val; _sym+=_sym+1&-(_sym+1); } while(_sym<_sz); }