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

antchfx / xpath / 29692471652
80%
master: 82%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.3.8
DEFAULT BRANCH: master
Ran 19 Jul 2026 03:15PM UTC
Jobs 1
Files 8
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

19 Jul 2026 03:15PM UTC coverage: 80.477% (+0.06%) from 80.418%
29692471652

Pull #128

github

gaoflow
fix: round() and mod follow the XPath 1.0 numeric spec

round() rounded halves away from zero and dropped the non-finite cases via the
int cast (REC 4.4); it now returns a number like ceiling()/floor(), so halves
round toward +Infinity and NaN/+-Infinity pass through. Since it no longer needs
the go1.10-only math.Round it moves next to roundFunc.

mod truncated its operands to int and panicked on a zero divisor; math.Mod is
the truncating remainder the spec requires (REC 3.5), with NaN for mod by zero.
Pull Request #128: fix: round() and mod follow the XPath 1.0 numeric spec

14 of 14 new or added lines in 2 files covered. (100.0%)

2395 of 2976 relevant lines covered (80.48%)

271.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29692471652.1 19 Jul 2026 03:15PM UTC 8
80.48
GitHub Action Run
Source Files on build 29692471652
  • Tree
  • List 8
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #128
  • PR Base - master (#29688478824)
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