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

stillwater-sc / universal / 43514747065
89%
master: 84%

Build:
Build:
LAST BUILD BRANCH: fix/fixpnt-quire-resolve-saturates
DEFAULT BRANCH: master
Ran 13 Nov 2026 10:16PM UTC
Jobs 1
Files 890
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

13 Nov 2026 09:54PM UTC coverage: 89.046% (-0.004%) from 89.05%
43514747065

push

github

web-flow
fix(internal): value arithmetic and special values, bitblock helpers, abstract triple, blockdecimal/blockdigit edges; archive gfp/f2s (#2057)

* fix(internal): value arithmetic and special values, bitblock helpers, abstract triple, blockdecimal/blockdigit edges; archive gfp/f2s

The legacy and digit-container findings of QA sweep #2029.

gfp, f2s (USER decision: archive)
- include/sw/universal/internal/{gfp,f2s} and internal/{gfp,f2s} move to ./archive
  (git mv, history kept), out of the build. Their Grisu paths were stubs, the two
  headers could not be included together, and their tests asserted nothing.

value<fbits>
- + and - used abits = fbits + 5 against module_add's fbits + 4 layout: every sum
  was wrong (1 + 0.5 = 1.75). A zero operand was read as 1.0 * 2^0.
- IEEE special values throughout: x / 0 is +-inf (was 0), 0 / 0, inf - inf and
  0 * inf are NaN, NaN propagates through + - * /; an infinity keeps its sign
  (every inf was negative, +inf printed as -inf); -0.0 keeps its sign; negation,
  abs and round_to keep NaN; to_double() of an infinity or NaN (was 1.0 * 2^scale);
  ==, <, <=, >= treat NaN as unordered and +0 == -0.
- round_to OR-ed the dropped bits into the last kept bit (jamming); it now rounds
  to nearest, ties to even, with the carry into the scale, and round_to<0> rounds a
  tie up (the hidden bit is odd).
- the quotient had no sticky bit: divide_with_fraction now reports a remainder and
  module_divide jams it below the guard bits, so x / y is correctly rounded.
- integer assignment: negative values through their unsigned magnitude (LLONG_MIN
  was UB), unsigned types through unsigned long long, plain char by its value;
  to_int/to_long/to_long_long are exact from the bits (they went through float).

bitblock
- round<>() did not compile (no unsigned long long constructor) and went through
  to_ullong(), which throws past 64 bits: rewritten bit-wise.
- to_hex() emitted one hexit too many for a multiple of 4 bits, one short ot... (continued)

647 of 769 new or added lines in 12 files covered. (84.14%)

13 existing lines in 3 files now uncovered.

62855 of 70587 relevant lines covered (89.05%)

10983199.05 hits per line

Uncovered Changes

Lines Coverage ∆ File
30
76.38
internal/value/arithmetic.cpp
26
74.51
internal/bitblock/helpers.cpp
25
72.22
internal/abstract/api/triple.cpp
24
74.74
internal/blockdigit/arithmetic/edges.cpp
10
75.28
32.42% internal/blockdecimal/api/api.cpp
4
89.45
1.93% include/sw/universal/internal/value/value.hpp
2
77.69
1.13% internal/bitblock/arithmetic.cpp
1
92.89
-1.8% include/sw/universal/internal/bitblock/bitblock.hpp

Coverage Regressions

Lines Coverage ∆ File
7
92.89
-1.8% include/sw/universal/internal/bitblock/bitblock.hpp
5
89.45
1.93% include/sw/universal/internal/value/value.hpp
1
35.02
0.32% include/sw/universal/verification/test_suite_randoms.hpp
Jobs
ID Job ID Ran Files Coverage
1 43514747065.1 13 Nov 2026 10:16PM UTC 890
89.05
GitHub Action Run
Source Files on build 43514747065
  • Tree
  • List 890
  • Changed 10
  • Source Changed 6
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43514747065
  • a9d6a659 on github
  • Prev Build on main (#43503536557)
  • Next Build on main (#43559744627)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc