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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 30 Jul 2026 11:02PM UTC
Jobs 1
Files 599
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

30 Jul 2026 10:20PM UTC coverage: 85.216% (-0.02%) from 85.236%
30586806514

push

github

web-flow
fix: drop gratuitous ull in posit index arithmetic; lns scale() casts to int (#1264) (#1272)

Two independent one-line narrowings (warning-clean Epic #1265):

1. posit_impl.hpp convert_(): `len - nbits - 1ull` in the rounding bit-tests
   (test/anyAfter, lines 385/386) promoted an unsigned index expression to 64 bits
   only to narrow it straight back to unsigned -> -Wconversion. `len`, `nbits` are
   unsigned and test/anyAfter take unsigned, so use 1u. Also cleaned the gratuitous
   `nbits + 1ull` (line 383; it did not warn -- constant that fits -- but is the
   same idiom). len >= nbits + 2 by construction so `len - nbits - 1u` is >= 1 (no
   unsigned wrap).

2. lns_impl.hpp scale(): returned `long(exp)` from an int-returning function ->
   -Wconversion (long is 64-bit on LP64, narrowed to int; no-op on MSVC, hence the
   asymmetric CI reports). int is the scale() convention across the number systems
   (posit/cfloat return int), so the cast was the mistake: use static_cast<int>.

Value-preserving. gcc + clang: the flagged lines are clean under -Wconversion;
posit_addition/multiplication and lns_api/conversion PASS on both.

Resolves #1264

4 of 4 new or added lines in 2 files covered. (100.0%)

10 existing lines in 1 file now uncovered.

41651 of 48877 relevant lines covered (85.22%)

7272805.43 hits per line

Coverage Regressions

Lines Coverage ∆ File
10
31.43
-3.57% include/sw/universal/verification/test_suite_randoms.hpp
Jobs
ID Job ID Ran Files Coverage
1 30586806514.1 30 Jul 2026 11:02PM UTC 599
85.22
GitHub Action Run
Source Files on build 30586806514
  • Tree
  • List 599
  • Changed 4
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30586806514
  • 61eaa900 on github
  • Prev Build on main (#30582903055)
  • Next Build on main (#30597794219)
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