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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 20 Mar 2026 03:53AM UTC
Jobs 1
Files 627
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

20 Mar 2026 03:24AM UTC coverage: 84.441% (+0.02%) from 84.422%
23327729109

push

github

web-flow
feat(ucalc): render values at native precision (max_digits10) (#600)

* feat(ucalc): render values at native precision (max_digits10) (#599)

Each type now displays values at its own std::numeric_limits<T>::max_digits10
precision instead of a fixed 17 digits (double's precision):

  fp8e4m3:  3.44e-01           (3 digits)
  bfloat16: 0.33               (4 digits)
  posit32:  3.333333340e-01    (9 digits)
  float:    0.333333343        (9 digits)
  double:   0.33333333333333331 (17 digits)
  fp128:    3.333...317e-01    (34 digits)
  dd:       3.333...333e-01    (32 digits)
  qd:       3.333...333e-01    (64 digits)

Changes:
- Add max_digits10 field to TypeOps, populated from numeric_limits
- make_value() uses type's max_digits10 for native_rep formatting
- Native float/double helpers use their own max_digits10
- vars, faithful, compare all use native_rep for display

Closes #599.

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

* feat(ucalc): show type alias in vars command

The vars command now displays three columns: type, name, value.
The type column shows the short registry alias (e.g., "float",
"fp128", "posit32") resolved from the stored Value's type_name.

  dd          w          = 3.14159265358979323...
  float       x          = 0.333333343
  fp128       y          = 3.33333333333333333...
  posit32     z          = 1.618033990e+00

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

* fix(ucalc): cap compare value column at 22 chars with ~ truncation

The native-precision rendering made the compare table's value column
variable-width, breaking alignment. Cap display at 22 significant
characters with a ~ suffix for truncated values. Full precision is
available via the show command.

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

* fix(ucalc): remove remaining hardcoded setprecision(17) from display

Update ulp, sweep, and faithful commands to use native precision:
- ulp: show va... (continued)

44325 of 52492 relevant lines covered (84.44%)

6076187.93 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
81.47
0.67% include/sw/universal/number/posit1/specialized/posit_16_1.hpp
Jobs
ID Job ID Ran Files Coverage
1 23327729109.1 20 Mar 2026 03:53AM UTC 627
84.44
GitHub Action Run
Source Files on build 23327729109
  • Tree
  • List 627
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23327729109
  • a8fc813c on github
  • Prev Build on main (#23326525219)
  • Next Build on main (#23342253873)
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