@return base 2 log of a in GF(size)
int log(int a) { if (a == 0) { throw ArgumentError('IllegalArgument'); } return _logTable[a]; }