'Raise ``f`` to a non-negative power ``n``.'

def pow(f, n):

    if isinstance(n, int):
        return f.per(dmp_pow(f.rep, n, f.lev, f.dom))
    else:
        raise TypeError(('``int``    expected,    got    %s' % type(n)))
