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

stillwater-sc / universal / 22902740273
84%
master: 84%

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

10 Mar 2026 12:35PM UTC coverage: 84.266% (-0.001%) from 84.267%
22902740273

push

github

web-flow
feat(quire): add generalized limb-based quire with blocktriple support (#551)

* feat(quire): add generalized limb-based quire with blocktriple support

Implement a generalized quire<NumberType, capacity, LimbType> class that
uses blockbinary (limb-based, uint32_t/uint64_t) for fast carry propagation,
replacing the legacy bitblock/std::bitset approach.

Key design:
- Single blockbinary<qbits, LimbType, Unsigned> for magnitude storage
- Uses quire_traits<NumberType> for sizing (from #545)
- operator+=(blocktriple) as the primary accumulation path
- MSB-based bit placement for robust blocktriple-to-accumulator mapping
- Works with cfloat, posit, fixpnt, lns, and dbns types
- Shared quire exception hierarchy (no type-specific coupling)

The existing specialized posit quire in number/posit/quire.hpp is retained
as-is for backward compatibility with posit-specific FDP workflows.

Also adds forward declaration includes to quire_traits.hpp so the traits
header can be used independently of the full number type headers.

Relates to #345, resolves #546

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(quire): address CodeRabbit review feedback on PR #551

- Replace raw string throw in operator[] with std::out_of_range
- Fix operator< to use MSB-first unsigned magnitude comparison instead
  of delegating to blockbinary::operator< (which uses sign-aware logic
  incorrect for BinaryNumberType::Unsigned accumulators)
- Add clarifying comments on unsigned subtraction correctness via
  two's complement (valid when minuend >= subtrahend)
- Add precision limitation note to convert_to<TargetType>()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(quire): address second round of CodeRabbit review on PR #551

- Use quire_traits<NumberType>::capacity as default template parameter
  instead of hard-coded 30, so type-specific defaults are respected
- Fix undefined behavior when assigning INT64_MIN: compute magnitude
  in the unsigned domain to av... (continued)

130 of 154 new or added lines in 1 file covered. (84.42%)

7 existing lines in 2 files now uncovered.

42406 of 50324 relevant lines covered (84.27%)

6242085.37 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
24
84.42
include/sw/universal/number/quire/quire_impl.hpp

Uncovered Existing Lines

Lines Coverage ∆ File
1
80.58
-0.22% include/sw/universal/number/posit1/specialized/posit_16_1.hpp
6
50.45
-5.41% include/sw/universal/verification/posit_test_suite_randoms.hpp
Jobs
ID Job ID Ran Files Coverage
1 22902740273.1 10 Mar 2026 01:04PM UTC 594
84.27
GitHub Action Run
Source Files on build 22902740273
  • Tree
  • List 594
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22902740273
  • 4cfa114a on github
  • Prev Build on main (#22868729739)
  • Next Build on main (#22916330328)
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