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

uber / h3-go / 37044123883
100%

Build:
DEFAULT BRANCH: master
Ran 02 Oct 2026 05:59PM UTC
Jobs 1
Files 20
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

02 Oct 2026 05:56PM UTC coverage: 100.0%. Remained the same
37044123883

push

github

web-flow
h3go: round degree conversions before the haversine subtraction (#154)

GreatCircleDistanceRads converts each coordinate from degrees to radians
and then subtracts. The Go spec lets the compiler fuse a product into a
following subtraction, and on arm64 it does, so one side of the
subtraction was exact and the other rounded. Identical points therefore
measured a few 1e-17 radians apart instead of exactly zero, and every
other distance picked up a last-bit difference from the C library, which
takes radians and has nothing to fuse.

Wrapping the four products in explicit float64 conversions rounds them
before use, which the spec guarantees prevents fusion. The zero-distance
test now requires exactly zero, including the point that exposed the
difference. The remaining fused instruction, in the sum of squares, matches
what a C compiler contracts within an expression and does not affect the
zero case.

Benchmarks are unchanged within noise: ten interleaved rounds of the old
and new binaries put every row, including the cgo and CellAreaRads2
controls, within 3% in both directions.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>

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

4533 of 4533 relevant lines covered (100.0%)

2660413.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go- - 37044123883.1 02 Oct 2026 05:59PM UTC 20
100.0
GitHub Action Run
Source Files on build 37044123883
  • Tree
  • List 20
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 44de1719 on github
  • Prev Build on master (#36952466311)
  • Next Build on master (#37057402077)
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