testing code to find rounding errors