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

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

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

30 Mar 2026 12:56PM UTC coverage: 84.362% (+0.02%) from 84.341%
23745846714

push

github

web-flow
feat(ucalc): decimal float steps visualization (#678)

* feat(ucalc): decimal float steps visualization (#655)

Add dfloat-specific step-by-step arithmetic decomposition showing:
1. Decompose: sign, decimal coefficient, decimal exponent
2. Align decimal exponents (scale up the larger-exponent operand)
3. Add/subtract decimal coefficients (integer arithmetic)
4. Normalize: ensure ndigits significant digits
5. Result

Educational value: 0.1 + 0.2 = 0.3 is exact in decimal float
(coefficients 1 + 2 = 3), contrasting with binary float where
0.1 + 0.2 = 0.300000012 due to binary representation error.

Detects dfloat types by type_tag prefix. Extracts ndigits from tag.

Resolves #655

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(ucalc): resolve CodeRabbit review items for dfloat steps

Four fixes:

1. Critical: coefficient arithmetic uses double instead of long long
   to avoid overflow for decimal64 (10^16 * 10^16 exceeds int64).

2. Post-round carry normalization: shared normalize_coefficient()
   handles carry from rounding (e.g., 99995 -> 10000).

3. Division explainer added: explain_dfloat_div shows scaled
   coefficient division with ndigits precision.

4. Header comment documents double-based decomposition limitation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

44592 of 52858 relevant lines covered (84.36%)

6101881.29 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
80.58
-0.22% include/sw/universal/number/posit1/specialized/posit_16_1.hpp
Jobs
ID Job ID Ran Files Coverage
1 23745846714.1 30 Mar 2026 01:26PM UTC 630
84.36
GitHub Action Run
Source Files on build 23745846714
  • Tree
  • List 630
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23745846714
  • b85c3e8e on github
  • Prev Build on main (#23736407043)
  • Next Build on main (#23759427046)
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