Relax check in test on float equality.

Check was on number of places, and the rounding used could trigger a failure for tiny changes in output.