Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
hypot
in haversine calculation for better accuracy
hypot(x, y) is sqrt(x^2 + y^2) but implemented in an error-corrected way. It is a bit slower though, so depends on the tradeoff you want to make. Feel free to accept or reject.
- Loading branch information