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

uber / h3-go / 40547097909
100%

Build:
DEFAULT BRANCH: master
Ran 27 Oct 2026 05:07PM 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 05:04PM UTC coverage: 100.0%. Remained the same
40547097909

push

github

web-flow
h3: clamp the haversine term so antipodal distances are not NaN (#178)

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>

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

3673 of 3673 relevant lines covered (100.0%)

5166744.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go- - 40547097909.1 27 Oct 2026 05:07PM UTC 19
100.0
GitHub Action Run
Source Files on build 40547097909
  • Tree
  • List 19
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 618a1d49 on github
  • Prev Build on 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