Better illustrate the pitfall with the pow by using a cast to unsigned.