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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 28 Mar 2026 06:18PM 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

28 Mar 2026 05:49PM UTC coverage: 84.341% (-0.02%) from 84.358%
23690843850

push

github

web-flow
feat(ucalc): overflow/underflow map command (clip) (#651)

* feat(ucalc): overflow/underflow map command (#630)

Add `clip <type> <data>` command that categorizes a distribution
against a target type's dynamic range:
- representable: value fits within type's range
- clipped: |value| > maxpos (overflow, split by +/- direction)
- flushed: 0 < |value| < minpos (underflow to zero)
- exact zeros: input was exactly 0

Supports inline vectors and CSV file loading. Reports type range
and data range for context.

Quiet mode one-liner: "99.8% 0clip 19flush" for quick comparison.
All output formats: plain, --json, --csv, --quiet.
21/21 CTests pass on gcc.

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

* docs(ucalc): comprehensive documentation update for all commands

Update tools/ucalc/README.md and docs/tutorials/ucalc-repl.md with
complete documentation covering all Phase 2 and Phase 3 commands.

README.md rewritten to cover:
- 20+ commands organized by category (inspection, forensics, quantization)
- CLI flags (--json, --csv, --quiet, -t, -f)
- 10 worked examples covering all major features
- Script directory listing (12 example scripts)
- Architecture overview

docs/tutorials/ucalc-repl.md updated with:
- CLI flags reference table
- Three command categories with full tables
- 5 new examples: trace, audit, quantize, heatmap, diverge

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

* fix(ucalc): remove unused hist_bins, fix data_min for all-zero input

Remove unused constexpr hist_bins leftover from earlier draft.
Set data_min to 0.0 when all input values are zero (was left at
numeric_limits::max).

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

* fix(ucalc): use explicit bounds for clip overflow detection

The clipping check used abs(x) > maxpos, which misclassified
representable asymmetric negatives (e.g., -128 in int8 where
maxpos=127). Now checks x > maxpos for positive overflow and
x < ... (continued)

44581 of 52858 relevant lines covered (84.34%)

6108020.82 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
93.98
-0.48% include/sw/universal/number/cfloat/cfloat_impl.hpp
3
89.52
-0.28% include/sw/universal/number/posito/posito_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 23690843850.1 28 Mar 2026 06:18PM UTC 630
84.34
GitHub Action Run
Source Files on build 23690843850
  • Tree
  • List 630
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23690843850
  • 461b28a1 on github
  • Prev Build on main (#23689705135)
  • Next Build on main (#23694872245)
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