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

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

Build:
Build:
LAST BUILD BRANCH: fix/fixpnt-quire-resolve-saturates
DEFAULT BRANCH: master
Ran 07 Nov 2026 12:13AM UTC
Jobs 1
Files 868
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

06 Nov 2026 11:55PM UTC coverage: 88.64%. Remained the same
42315031681

push

github

web-flow
perf(dbns): search wide windows of the second base exponent in O(log) steps (#1978)

Rounding to the nearest encoding scans a window of second base
exponents b, min(MAX_B + 1, MAX_A / log2(3) + 4) wide (#1939). With both
fields wide that window is large: 660k candidates for dbns<48,20>, so a
conversion took 1.6 ms and an out-of-range product 1 ms (QA sweep #1962).

Inside the window, where the first exponent is not clamped, the error
of b is the distance from scale - b*log2(3) to the nearest integer: a
linear function mod 1 of b. argmin_frac finds its minimum over a range
by the continued-fraction recursion. A minimum sits at a run's start
(step <= 1/2) or end (step > 1/2), and those candidates form the same
problem again with at most half as many terms. The results it finds,
their neighbours, and the clamped edges of the window are then scored
by the scan's own rule, with ties to the smaller b as the scan breaks
them. Windows up to 4096 candidates keep the scan, so every
configuration that was fast is unchanged.

| dbns<48,20,uint64> | before  | after  |
|--------------------|---------|--------|
| conversion         | 1585 us | 2.0 us |
| product            |  976 us | 1.1 us |

Against the exhaustive scan the new search picks the identical encoding
in all 24,000 conversions, products and quotients sampled over
dbns<48,20>, <36,16>, <40,24> and <44,18>, and it still evaluates in a
constant expression.

Tests:
- arithmetic/native.cpp runs dbns<48,20> with 100 samples (was 20), and
  1000 at level 2. It adds <36,16> and <40,24>, whose 41k and 32k
  windows take the new path. Its oracles decide zero from the linear
  values, |v| < minpos / 2, instead of repeating the implementation's
  log-domain threshold.
- conversion/nearest.cpp adds the same two configurations to its
  wide-field oracle.
- arithmetic/native.cpp's VerifyMatchesScan replays the scan with the
  library's scoring and tie rule and requires its exact encoding for
  every out-of-range prod... (continued)

65 of 68 new or added lines in 1 file covered. (95.59%)

5 existing lines in 3 files now uncovered.

59152 of 66733 relevant lines covered (88.64%)

9643997.34 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
92.69
0.43% include/sw/universal/number/dbns/dbns_impl.hpp

Coverage Regressions

Lines Coverage ∆ File
2
84.93
-0.3% include/sw/universal/number/qd/qd_impl.hpp
2
34.7
-0.32% include/sw/universal/verification/test_suite_randoms.hpp
1
97.8
-0.06% include/sw/universal/number/cfloat/cfloat_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 42315031681.1 07 Nov 2026 12:12AM UTC 868
88.64
GitHub Action Run
Source Files on build 42315031681
  • Tree
  • List 868
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42315031681
  • bf44b17d on github
  • Prev Build on main (#42313599716)
  • Next Build on main (#42337764573)
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