Numerical rounding errors are a royal PITA