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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 27 Mar 2026 07:55PM UTC
Jobs 1
Files 629
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

27 Mar 2026 07:26PM UTC coverage: 84.371% (-0.005%) from 84.376%
23663759731

push

github

web-flow
feat(ucalc): rounding audit trail command (#643)

* feat(ucalc): rounding audit trail command (#623)

Add `audit <expr>` command that shows every rounding event with:
- Signed ULP error (positive = rounded up, negative = rounded down)
- Ties-to-even detection (when ULP error is exactly 0.5)
- Cumulative signed error drift across all operations
- Summary statistics: rounding events count, max |ULP| error, net drift

Builds on the trace infrastructure but focuses on rounding analysis
rather than operation-level tracing. Useful for understanding error
accumulation patterns and detecting systematic rounding bias.

Supports all output formats: plain, --json, --csv, --quiet.
20/20 CTests pass on both gcc and clang.

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

* fix(ucalc): fix misleading trace/audit rounding display

The trace output showed native_rep (display-truncated) values alongside
"exact" labels, creating contradictions. For example, bfloat16's 1.0625
displayed as "1.1" next to "exact: 1.086..." made ROUNDED DOWN look
wrong when it was correct (1.0625 < 1.0703).

Three changes:

1. Show actual decimal values for result and reference on separate lines
   when rounding occurred, so direction is self-evident from comparing
   the two numbers. Exact results still show the compact native_rep.

2. Rename "exact" to "reference" everywhere (trace, audit, cancel) --
   the qd replay of already-rounded operands is a higher-precision
   reference, not the mathematically exact result of the original inputs.

3. Move rounding direction out of confusing parentheticals into a clear
   standalone annotation line.

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

* feat(ucalc): show reference precision in trace and audit output

Add "reference precision: quad-double" (or whatever the ref type is)
to the trace and audit plain text summaries, and "reference_type" to
the JSON output. Users can now see what precision is back... (continued)

44400 of 52625 relevant lines covered (84.37%)

6121932.11 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
80.58
-0.67% include/sw/universal/number/posit1/specialized/posit_16_1.hpp
Jobs
ID Job ID Ran Files Coverage
1 23663759731.1 27 Mar 2026 07:55PM UTC 629
84.37
GitHub Action Run
Source Files on build 23663759731
  • Tree
  • List 629
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23663759731
  • 6c8f9a19 on github
  • Prev Build on main (#23650457302)
  • Next Build on main (#23670073104)
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