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

stillwater-sc / universal / 23407092263
85%
master: 84%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 22 Mar 2026 04:41PM UTC
Jobs 1
Files 627
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

22 Mar 2026 04:12PM UTC coverage: 84.376% (-0.02%) from 84.393%
23407092263

push

github

web-flow
fix(lns): subtract exponents in non-saturating division path (#609)

* fix(cfloat): add rounding and overflow handling to wide-significand convert path

* fix(cfloat): clear hidden bit before rounding in wide-significand path

The wide-significand convert path was missing the hidden-bit mask that
the narrow path applies (fracbits &= ALL_ONES_FR). Without it,
fracbits.test(fbits) always evaluated true for normalized numbers,
causing fracbits.clear() to zero out the entire significand on every
conversion — producing pure powers of 2 instead of correct results.

Add fracbits.setbit(fbits, false) after the right-shift, mirroring the
narrow path's mask, so the rounding-overflow check only fires when
incrementing genuinely carries into the hidden-bit position.

* fix(lns): subtract exponents in non-saturating division path

The non-saturating (Behavior::Wrapping) branch of operator/= was
adding exponents (lexp += rexp) instead of subtracting them
(lexp -= rexp). Since LNS represents values as 2^exponent,
division requires log(a/b) = log(a) - log(b), i.e. exponent
subtraction. The saturating path already used ursub correctly;
only the wrapping else-branch had the wrong operator, producing
a*b instead of a/b for every division.

11 of 14 new or added lines in 1 file covered. (78.57%)

14 existing lines in 3 files now uncovered.

44348 of 52560 relevant lines covered (84.38%)

6091704.52 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
94.48
-0.14% include/sw/universal/number/cfloat/cfloat_impl.hpp

Coverage Regressions

Lines Coverage ∆ File
10
31.43
-3.57% include/sw/universal/verification/test_suite_randoms.hpp
3
81.25
0.0% include/sw/universal/number/posit1/specialized/posit_16_1.hpp
1
94.48
-0.14% include/sw/universal/number/cfloat/cfloat_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 23407092263.1 22 Mar 2026 04:41PM UTC 627
84.38
GitHub Action Run
Source Files on build 23407092263
  • Tree
  • List 627
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23407092263
  • f80ab0d5 on github
  • Prev Build on main (#23406981793)
  • Next Build on main (#23471164318)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc