equal static method

int equal(
  1. int b,
  2. int c
)

Implementation

static int equal(int b, int c) {
  final int ub = b & 0xFF;
  final int uc = c & 0xFF;
  final int x = ub ^ uc;
  BigInt y = BigInt.from(x) & BigInt.from(0xFFFFFFFF);
  y = y - BigInt.one;
  y = y >> 31;
  return (y & BigInt.one).toInt();
}