multiply method

int multiply(
  1. int a,
  2. int b
)

Implementation

int multiply(int a, int b) {
  if (a == 0 || b == 0) {
    return 0;
  }
  return aLogTbl[(logTbl[a] + logTbl[b]) % (size - 1)];
}