def int_pow(x: float, exponent: float) -> int:
    """Finds the nearest integer to ``pow(x, exponent)``.

    Args:
        x: The number whose power will be found.
        exponent: The number to which ``x`` will be raised.

    Returns:
        The result of rounding ``pow(x, exponent)`` to the nearest integer.
    """
    return int(round(x**exponent))