Matrix powers in finite precision arithmetic