Do not use difference to compare doubles