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

antchfx / xpath
80%
master: 82%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.3.8
DEFAULT BRANCH: master
Repo Added 08 May 2017 11:19AM UTC
Files 8
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

LAST BUILD ON BRANCH fix-round-mod-numeric-spec
branch: fix-round-mod-numeric-spec
CHANGE BRANCH
x
Reset
  • fix-round-mod-numeric-spec
  • 0.1
  • 1.1.0
  • fix-ancestor-predicate-chain
  • fix-group-predicate-last
  • master
  • refs/tags/v1.3.0
  • refs/tags/v1.3.1
  • refs/tags/v1.3.2
  • refs/tags/v1.3.3
  • refs/tags/v1.3.4
  • refs/tags/v1.3.5
  • refs/tags/v1.3.6
  • refs/tags/v1.3.7
  • refs/tags/v1.3.8
  • v1.0.0
  • v1.1.0
  • v1.1.1
  • v1.1.10
  • v1.1.11
  • v1.1.2
  • v1.1.3
  • v1.1.4
  • v1.1.5
  • v1.1.6
  • v1.1.7
  • v1.1.8
  • v1.1.9
  • v1.2.0

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

Relevant lines Covered
Build:
Build:
2976 RELEVANT LINES 2395 COVERED LINES
271.72 HITS PER LINE
Source Files on fix-round-mod-numeric-spec
  • Tree
  • List 8
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
29692471652 fix-round-mod-numeric-spec 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/+-I... Pull #128 19 Jul 2026 03:15PM UTC gaoflow github
80.48
See All Builds (167)
  • Repo on GitHub
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