ceilDiv static method

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

Implementation

static int ceilDiv(int a, int b) => (a + b - 1) ~/ b;