AVG2 static method

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

Implementation

static int AVG2(int a, int b) => shiftR(((a) + (b) + 1), 1);