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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 23 Oct 2026 10:24PM UTC
Jobs 1
Files 761
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

23 Oct 2026 10:03PM UTC coverage: 88.083% (+0.001%) from 88.082%
40031136734

push

github

web-flow
perf(efloat): division from an approximate quotient with Ziv's test, and a/n on 64-bit limbs (#1813)

* perf(efloat): sqrt without the remainder except next to a rounding boundary, and a limb-level wrapper

efloat_mpn::sqrt_approx stops dc_sqrtrem's top level after the root: the square Q^2 and the
one correction it decides are skipped, and the top division is efloat_mpn::div_appr, GMP's
divappr: the high half of the quotient exact, the low half on the divisor's top limbs without
its correcting product, each level adding at most 2 to the quotient's excess (divappr_n_error).
The root is the exact floor or above it by at most sqrt_approx_error(n), 6 at 8192 bits,
against at least 30 bits past the precision. Ziv's test on the limbs decides; where it fails,
the exact sqrtrem and its remainder do, which keeps every exact square exact.

sqrt_limbs reads the operand's limbs in place and rounds once through assign_rounded_limbs;
load_shifted reads packed 64-bit words and shifts once. The root is sized from the precision it
rounds at, whole 32-bit limbs (a sqrt_to request of 33 bits got a 64-bit root without a guard
bit; sqrt itself always rounds at a multiple of 32, so its results do not change). hypot takes
its root the same way.

mpfr_gap, efloat / MPFR at 128 / 512 / 2048 / 8192 bits:
  sqrt   2.2x 2.0x 2.3x 2.0x  ->  1.0x 1.0x 1.2x 1.2x
  hypot  0.6x 0.8x 1.4x 1.5x  ->  0.6x 0.8x 1.2x 1.3x
and asin, acos, atan, atan2 5-14% faster through their roots.

Results are bit-identical to main, flags and carried precision included: 920,000 function
results across the families that take roots, 512,000 sqrt and hypot results, 240,000 fma and
hypot results and 80,000 cube roots, in every mode. mpfr_check reports 0 wrong for every
function up to 8192 bits.

Tests: limb_kernels gains VerifyApproximateKernels (div_appr's and sqrt_approx's bounds against
div_qr and sqrtrem, across the thresholds, all-ones operands and all-ones quotients, which the
low-half clamp serves); ... (continued)

123 of 130 new or added lines in 3 files covered. (94.62%)

1 existing line in 1 file now uncovered.

54193 of 61525 relevant lines covered (88.08%)

9473715.26 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
94.28
-0.09% include/sw/universal/number/efloat/efloat_impl.hpp
1
99.83
-0.17% include/sw/universal/number/efloat/efloat_mpn.hpp

Coverage Regressions

Lines Coverage ∆ File
1
32.04
-0.35% include/sw/universal/verification/test_suite_randoms.hpp
Jobs
ID Job ID Ran Files Coverage
1 40031136734.1 23 Oct 2026 10:24PM UTC 761
88.08
GitHub Action Run
Source Files on build 40031136734
  • Tree
  • List 761
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40031136734
  • 0cf1c8f2 on github
  • Prev Build on main (#40025158222)
  • Next Build on main (#40047512831)
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