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

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

Build:
Build:
LAST BUILD BRANCH: fix/ereal_ostream
DEFAULT BRANCH: master
Ran 05 Mar 2026 07:08PM UTC
Jobs 1
Files 589
Run time 2min
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

05 Mar 2026 06:40PM UTC coverage: 84.511% (-0.02%) from 84.532%
22731278268

push

github

web-flow
fix(posit): fix division bugs and complete regression tests (#534) (#537)

* fix(posit): fix division bugs and complete regression tests (#534)

Two bugs in posit2's division pipeline:

1. Missing setradix() in normalizeDivision's multi-limb path caused
   blocksignificand::div() to use wrong radix (bfbits vs divbits),
   placing quotient bits 2 positions too high (e.g. 10/2=4).

2. Missing sticky bits in convert() — only nbits+4 fraction bits were
   extracted from the blocktriple, silently discarding remaining quotient
   bits needed for correct round-to-even decisions (-1 ULP errors).

Also completes the posit2 division regression test suite to match posit1:
- Random tests at levels 2-4 for posit<16,2> through posit<64,4>
- Adversarial worst-case division test functions
- Guards posit1-specific functions in posit_test_suite_randoms.hpp so
  both posit and posit1 can share the same test infrastructure.

Verified with both gcc and clang. No regressions in add/sub/mul.

* code hygiene

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

5 of 5 new or added lines in 1 file covered. (100.0%)

13 existing lines in 4 files now uncovered.

41401 of 48989 relevant lines covered (84.51%)

6408834.44 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.88
-3.13% include/sw/blas/solvers/cg.hpp
2
96.15
-3.85% include/sw/blas/blas/inverse.hpp
4
93.56
-0.47% include/sw/universal/number/posit/posit_impl.hpp
6
80.58
-1.34% include/sw/universal/number/posit1/specialized/posit_16_1.hpp
Jobs
ID Job ID Ran Files Coverage
1 22731278268.1 05 Mar 2026 07:08PM UTC 589
84.51
GitHub Action Run
Source Files on build 22731278268
  • Tree
  • List 589
  • Changed 6
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22731278268
  • eaaf535c on github
  • Prev Build on main (#22722657668)
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