Do you have a good blog post on choosing tolerances and ranges? I just started at a company where it’s probably about now that we should get smart with that. We do geometry so the problem gets even worse.
For an example of safe geometric calculation in floating point, see Google's S2 library: