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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 15 Mar 2026 08:01PM UTC
Jobs 1
Files 618
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 Mar 2026 07:33PM UTC coverage: 84.04% (+0.02%) from 84.017%
23117684882

push

github

web-flow
feat(unum): implement Phase 1 core type and storage for unum Type I (#572)

Implement the foundational unum Type I number system with:

- Fixed-size blockbinary storage sized to the maximum unum word width,
  computed from template parameters esizesize and fsizesize
- Bit layout: [ubit][fsize_field][esize_field][fraction][exponent][sign]
  with the utag (ubit + size fields) at fixed LSB positions
- Field decode: esize(), fsize(), ubit(), sign(), exponent(), fraction()
- nbits_used() returns actual word width for current esize/fsize config
- setbits()/bits()/clear()/setzero()/setnan() for bit manipulation
- to_binary() showing field decomposition with dot separators
- color_print() with distinct colors per field
- pretty_print() and info_print() for debugging
- type_tag() with portable type names
- Basic to_double() conversion via decoded fields
- Exception hierarchy: unum_arithmetic_exception, unum_divide_by_zero,
  unum_overflow, unum_internal_exception
- Forward declarations in unum_fwd.hpp
- numeric_limits specialization
- Tests: api.cpp (construction, zero, NaN, setbits, field decode,
  to_binary, word size, equality) and construct.cpp (configurations)

Arithmetic operators and native type conversions are stubs for Phase 2-4.

Resolves #564

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

144 of 158 new or added lines in 2 files covered. (91.14%)

3 existing lines in 2 files now uncovered.

43142 of 51335 relevant lines covered (84.04%)

6137018.29 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
82.56
14.27% include/sw/universal/number/unum/unum_impl.hpp
2
97.67
include/sw/universal/number/unum/manipulators.hpp

Coverage Regressions

Lines Coverage ∆ File
2
89.8
-0.57% include/sw/universal/number/posito/posito_impl.hpp
1
82.56
14.27% include/sw/universal/number/unum/unum_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 23117684882.1 15 Mar 2026 08:01PM UTC 618
84.04
GitHub Action Run
Source Files on build 23117684882
  • Tree
  • List 618
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23117684882
  • 5ba8465a on github
  • Prev Build on main (#23116994287)
  • Next Build on main (#23119164012)
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