Y
Hacker News
new
|
ask
|
show
|
jobs
by
nraynaud
1467 days ago
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.
1 comments
everybodyknows
1466 days ago
For an example of safe geometric calculation in floating point, see Google's S2 library:
https://github.com/google/s2geometry
link
https://github.com/google/s2geometry