log method

int log(
  1. int a
)

@return base 2 log of a in GF(size)

Implementation

int log(int a) {
  if (a == 0) {
    throw ArgumentError('IllegalArgument');
  }
  return _logTable[a];
}