isInfinity method

bool isInfinity()

Implementation

bool isInfinity() {
  if (x == null && y == null) return true;
  return z == BigInt.zero && y!.toBigInteger() != BigInt.zero;
}