Then what's the best way to handle these cases? Are there any set of rules we should use while implementing the mathematical equations dealing with limits in floating points.
- don't subtract almost equal numbers
- don't add numbers of vastly different magnitudes