public static int intPow(int base, int exp) {
		if (exp < 0) throw new IllegalArgumentException("Exponent must be positive");
		int result = 1;
		while (true) {
			if ((exp & 1) != 0) result *= base;
			if ((exp >>= 1) == 0) break;
			base *= base;
		}
		return result;
	}
Fast {@link Math#pow(double, double)} for {@code int}.

@param base
		Base value.
@param exp
		Exponent power.

@return {@code base^exp}.
recaf-core/src/main/java/software/coley/recaf/util/NumberUtil.java