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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 11 Oct 2026 09:23PM UTC
Jobs 1
Files 721
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

11 Oct 2026 08:34PM UTC coverage: 86.632% (+0.02%) from 86.613%
38172781380

push

github

web-flow
feat(poxel): conversion to and from posit<nbits - 1, es>, and sampled tests at 16 and 32 bits (#1675)

* feat(poxel): conversion to and from posit<nbits - 1, es>, and sampled tests at 16 and 32 bits

Two of the three open work items of #1631.

posit interop: the posit is the poxel's lattice, so its pattern is the poxel's bits
above the ubit and conversion is a shift that never rounds.
- posit<nbits - 1, es> converts implicitly to the exact tile at its value; NaR to NaR.
- poxel converts explicitly to the posit at its tile's lower endpoint, as the native
  conversions do, so posit(x) == posit(double(x)) for every tile: (-inf, -maxpos)
  goes to NaR like posit(-inf), and (0, minpos) to 0.

Tests:
- conversion/posit_interop.cpp (new): every pattern of poxel<8,0>, <9,2>, <10,1>,
  <12,3> and <17,2>, both directions, and sampled poxel33, against the conversion
  through double; a point tile round-trips, an open one returns as the point below it.
- arithmetic.cpp: sampled exact operands at poxel17 and poxel33, where a double
  reference is no longer exact. The reference is ereal (sums and products of the
  endpoints are exact there; a quotient is checked as lo * b < a < hi * b), and the
  same operation in posit<nbits - 1, es>, which rounds to nearest, must land on one
  end of the poxel's tile.
- logic.cpp: sampled pairs and ring neighbours at poxel17 and poxel33; the file
  moves to the standard MANUAL_TESTING / REGRESSION_LEVEL skeleton.
Mutation check: dropping the sticky bits in assign() fails every arithmetic group,
and converting without the ubit shift fails every interop group.

Part of #1631; interop with valid remains, with #1630.

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

* docs(poxel): qualify posit(x) == posit(double(x)) to lattices double holds exactly

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

---------

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

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

1 existing line in 1 file now uncovered.

48758 of 56282 relevant lines covered (86.63%)

9954543.41 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
96.82
0.45% include/sw/universal/number/cfloat/cfloat_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 38172781380.1 11 Oct 2026 09:23PM UTC 721
86.63
GitHub Action Run
Source Files on build 38172781380
  • Tree
  • List 721
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38172781380
  • 4aef99cb on github
  • Prev Build on main (#38152437273)
  • Next Build on main (#38178895480)
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