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

stillwater-sc / universal / 39464604463
89%
master: 84%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 20 Oct 2026 05:35PM UTC
Jobs 1
Files 760
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

20 Oct 2026 05:16PM UTC coverage: 87.645% (+0.01%) from 87.635%
39464604463

push

github

web-flow
perf(efloat): correctly rounded sqrt from an exact limb square root, 2.7-3.4x faster (#1770)

efloat_mpn gains sqrtrem: Zimmermann's Karatsuba square root, as GMP's
mpn_sqrtrem, on div_qr and the squaring kernel, with 1- and 2-limb base
cases. It runs at 0.69-1.21x GMP's time for 1 to 128 limbs.

sqrt forms S = floor(sqrt(m 2^(2F))) and the remainder exactly and rounds
once, so it is correctly rounded in every mode and raises Inexact only
for inexact roots. sin's versine takes the same root at its guard
precision; sin, cos and tan stay bit-identical.

A division-free reciprocal-square-root Newton in efloat operations was
built first and measured slower than main below 8192 bits (0.69 vs
0.35 us at 128 bits); the exact limb root is faster at every size.

sqrt at 128/512/2048/8192 bits: 0.346/0.701/2.836/21.89 us ->
0.126/0.256/0.947/6.39 us, 2.1-2.4x MPFR (was 5.1-7.3x).

Tests: sqrt_precision checks every root against exact squares in all
modes, including roots ~2^-2P above a value or a midpoint where only
the sticky bit rounds right; limb_kernels checks S^2 + R = N, R <= 2S.

BEHAVIOUR-CHANGE: efloat sqrt is now correctly rounded in every rounding mode and raises Inexact only when the root is inexact; it misrounded about 0.6% of results (sqrt(4 - 2^-62) at 64 bits gave 2, not 2 - 2^-63) and flagged exact roots Inexact

Part of #1763

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

108 of 108 new or added lines in 3 files covered. (100.0%)

5 existing lines in 2 files now uncovered.

52450 of 59844 relevant lines covered (87.64%)

9244702.47 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
96.91
-0.19% include/sw/universal/number/cfloat/cfloat_impl.hpp
2
82.83
-0.3% include/sw/universal/number/qd/qd_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 39464604463.1 20 Oct 2026 05:35PM UTC 760
87.64
GitHub Action Run
Source Files on build 39464604463
  • Tree
  • List 760
  • Changed 6
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39464604463
  • c42d1ba8 on github
  • Prev Build on main (#39456448524)
  • Next Build on main (#39505294109)
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