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

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

Build:
Build:
LAST BUILD BRANCH: fix/fixpnt-quire-resolve-saturates
DEFAULT BRANCH: master
Ran 15 Nov 2026 06:41AM UTC
Jobs 1
Files 893
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

15 Nov 2026 06:17AM UTC coverage: 89.13%. Remained the same
43684754438

push

github

web-flow
fix(bposit): defined integer casts, fdp guards in every build, one fdp_stride meaning; valid bool/char ctor; lns datapath tests (#2082)

bposit:
- Integer casts cast a double, so NaR and every out-of-range value were
  undefined behaviour and bits past 53 were lost. They now follow posit's rule
  (#2073): truncate toward zero, exact, saturate, NaR -> the type's minimum
  (0 for unsigned). The casts are constexpr.
- fdp_qc / fdp_stride / fdp relied on asserts, which vanish under NDEBUG: a
  zero stride looped or re-read x[0], and an index past a vector read out of
  bounds. They now give NaR in every build, as posit's fdp does since #2071.
- The significand moves between bposit and blocktriple a limb at a time
  instead of bit by bit. A 4-op iteration costs 235 ns instead of 580 for
  bposit<16,4,2>, 267 instead of 1020 for <32,6,5>, and 254 instead of 1817
  for <64,6,5,uint32>, with identical results.

fdp_stride / fdp_qc: n is the INDEX bound in every fdp header (posit,
bposit, cfloat, fixpnt, lns, dbns). lns and dbns took n as the product count
(i < n, ix = i * incx). They now loop ix < n like the others. The meaning is
documented in all six headers.

valid: valid(Lower, Upper) did not compile for bool or character arguments,
which std::cmp_greater rejects; unary + promotes them first.

Tests:
- bposit/conversion: every encoding's integer casts against its exact value,
  on three configurations, plus bposit<64,6,5> past 2^53 and the range ends.
  Encodings on uint8/uint16/uint64 limbs too. On main the casts fail 1025,
  24833 and 16385 encodings.
- bposit/arithmetic/fdp: zero strides, an index past the vectors, a short y,
  and the index-bound meaning. On main 15 checks fail.
- quire/api/lns_fdp, dbns_fdp: the index-bound meaning (n = 2 vs n = 3 at
  stride 2), with the existing stride cases moved to n = 4.
- valid/arithmetic: bool/char constructor (does not compile on main), sqrt of
  [-1, 4] and [-1, 0], square of [-3, 2] and (-1, 1), cos enclosu... (continued)

52 of 52 new or added lines in 5 files covered. (100.0%)

4 existing lines in 2 files now uncovered.

63418 of 71152 relevant lines covered (89.13%)

12009323.64 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
91.45
-2.56% include/sw/universal/verification/correctly_rounded_reference.hpp
1
97.8
-0.06% include/sw/universal/number/cfloat/cfloat_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 43684754438.1 15 Nov 2026 06:41AM UTC 893
89.13
GitHub Action Run
Source Files on build 43684754438
  • Tree
  • List 893
  • Changed 11
  • Source Changed 8
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43684754438
  • 9c14e4f5 on github
  • Prev Build on main (#43678966922)
  • Next Build on main (#43721160556)
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