• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uber / h3-go / 40544249803
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: feat/geodesic-polyfill
DEFAULT BRANCH: master
Ran 27 Oct 2026 04:50PM UTC
Jobs 1
Files 19
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Oct 2026 04:46PM UTC coverage: 100.0%. Remained the same
40544249803

Pull #178

github

justinhwang
h3: clamp the haversine term so antipodal distances are not NaN

For some antipodal pairs rounding pushes the haversine term just above
its mathematical maximum of 1, and sqrt(1 - h) is then NaN, so
GreatCircleDistanceRads and the kilometre and metre forms returned NaN
instead of pi times the radius. Clamping the term at 1 affects only that
overshoot. This is upstream uber/h3#1267. The conformance suite is
unaffected: its distance sampler already redraws far targets within 1e-3
radians of antipodal, where the haversine is ill-conditioned.

The test helper assertRelClose compared with >, and every comparison
against NaN is false, so a NaN result passed; it now rejects NaN, and the
new antipodal case fails without the clamp.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Pull Request #178: h3: clamp the haversine term so antipodal distances are not NaN

4 of 4 new or added lines in 1 file covered. (100.0%)

3673 of 3673 relevant lines covered (100.0%)

5166667.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go- - 40544249803.1 27 Oct 2026 04:50PM UTC 19
100.0
GitHub Action Run
Source Files on build 40544249803
  • Tree
  • List 19
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #178
  • PR Base - master (#39825380701)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc