The effects of finite precision on the simulation of the double pendulum