More lenient testing for floating point differences between platforms.