Use higher precision arithmetic when calculating the atan2 table