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

stillwater-sc / universal
84%
master: 84%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Repo Added 18 Apr 2018 09:13PM UTC
Files 618
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

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
  • main
  • chore/claude-code-config
  • ci-alert-autofix-1
  • docs/docs-site-links
  • docs/workflow
  • feat/decimal-fixpnt
  • feat/dfloat-ranges
  • feat/issue-545-quire-traits
  • feat/issue-546-generalized-quire
  • feat/issue-547-cfloat-fdp
  • feat/issue-548-fixpnt-fdp
  • feat/issue-549-lns-fdp
  • feat/pop-implementation
  • feat/posit_ostream
  • feat/precision-opt
  • feat/teju-jagua
  • fix/blas-bugs
  • fix/dfixpnt-doc
  • fix/ereal_ostream
  • fix/issue-509-lns-fraction
  • fix/issue-559-posit-nar-to-binary
  • fix/pop-coverage
  • fix/posit-division
  • fix/quire_numerics
  • fix/std_numbers
  • losborn_3_98_fixes
  • losborn_top_level_makefile
  • riscv-tests
  • unum
  • v3.93
  • v3.94
  • v3.95
  • v3.96
  • v3.97
  • v3.98
  • v3.99

14 Mar 2026 09:54PM UTC coverage: 83.993% (+0.006%) from 83.987%
23097151336

push

github

web-flow
fix(posit): correct NaR in to_binary, to_triple, and color_print (#561)

Three related bugs in posit display functions:

1. extract_fields() did not handle the NaR bit pattern (sign bit set,
   all other bits zero). Two's complement of the minimum signed integer
   wraps to itself, causing decode_regime() to produce wrong regime bits.
   Add NaR detection to extract_fields() so it properly sets regime to
   inf (all zeros consuming nbits-1) with empty exponent and fraction.
   This fixes to_binary() and to_triple().

2. color_print() inverted decoded field bits for negative posits trying
   to reconstruct the raw encoding, but bit inversion is not two's
   complement (missing +1), producing wrong bit values. Fix: read the
   decoded field bits directly without inversion, matching to_binary().

3. Exponent and fraction to_string() emitted nibble separator characters
   even when no content bits were output (dashExtent=false with zero
   allocated bits), producing spurious trailing apostrophes for NaR and
   zero in larger posit sizes.

Resolves #559

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

22 of 26 new or added lines in 4 files covered. (84.62%)

42913 of 51091 relevant lines covered (83.99%)

6169856.89 hits per line

Relevant lines Covered
Build:
Build:
51091 RELEVANT LINES 42913 COVERED LINES
6169856.89 HITS PER LINE
Source Files on main
  • Tree
  • List 618
  • Changed 6
  • Source Changed 4
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
23097151336 main fix(posit): correct NaR in to_binary, to_triple, and color_print (#561) Three related bugs in posit display functions: 1. extract_fields() did not handle the NaR bit pattern (sign bit set, all other bits zero). Two's complement of the minimum... push 14 Mar 2026 10:22PM UTC web-flow github
83.99
23094919373 main Merge pull request #558 from stillwater-sc/fix/quire_numerics fix(quire): generalized quire with normalize(), exact sizing, and CI coverage push 14 Mar 2026 08:06PM UTC web-flow github
83.99
23088486768 main Merge pull request #560 from stillwater-sc/ci-alert-autofix-1 ci: workflow does not contain permissions push 14 Mar 2026 01:30PM UTC web-flow github
84.33
23000111385 main Merge pull request #556 from stillwater-sc/fix/quire_numerics fix(quire): quire numerics and test quality push 12 Mar 2026 12:06PM UTC web-flow github
84.32
22929553272 main feat(lns): add fused dot product for lns and dbns via generalized quire (#554) * feat(lns,dbns): add fused dot product via generalized quire Implement quire_mul, quire_resolve, fdp, fdp_stride, and fdp_qc for both lns and dbns number systems. Si... push 11 Mar 2026 12:21AM UTC web-flow github
84.32
22923252468 main feat(fixpnt): add fused dot product via generalized quire (#553) * feat(fixpnt): add fused dot product via generalized quire Implement quire_mul, quire_resolve, fdp, fdp_stride, and fdp_qc for fixpnt types. Since fixpnt uses blockbinary (not blo... push 10 Mar 2026 09:07PM UTC web-flow github
84.31
22916330328 main Merge pull request #552 from stillwater-sc/feat/issue-547-cfloat-fdp feat(cfloat): add quire and fused dot product support for cfloat push 10 Mar 2026 06:14PM UTC web-flow github
84.29
22902740273 main 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 (lim... push 10 Mar 2026 01:04PM UTC web-flow github
84.27
22868729739 main feat(quire): add quire_traits<T> trait system for generalized quire sizing (#550) * feat(quire): add quire_traits<T> trait system for generalized quire sizing Define compile-time traits that provide quire accumulator sizing constants for each nu... push 09 Mar 2026 06:59PM UTC web-flow github
84.27
22857774859 main Merge pull request #544 from stillwater-sc/feat/teju-jagua feat(blocktriple): add Teju Jagua shortest decimal conversion push 09 Mar 2026 02:44PM UTC web-flow github
84.28
See All Builds (131)
  • Repo on GitHub
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