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

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

Build:
Build:
LAST BUILD BRANCH: fix/fixpnt-quire-resolve-saturates
DEFAULT BRANCH: master
Ran 13 Nov 2026 07:03PM UTC
Jobs 1
Files 887
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 06:30PM UTC coverage: 89.011% (-0.1%) from 89.108%
43483250202

push

github

web-flow
fix(internal): blocktriple, blockbinary, blockfraction and blocksignificand conversion, comparison, division and shift defects (#2055)

* fix(internal): blocktriple, blockbinary, blockfraction and blocksignificand conversion, comparison, division and shift defects

blocktriple
- round() dropped a bit when fbits == srcbits - 1 and placed the significand one bit
  low for fbits >= srcbits (1.5f read back 0.75 for every fbits >= 23; fbits >= 32
  from float was not shifted at all). Rewritten as one round-to-nearest-even of
  srcbits - fbits - 1 bits; wider targets are placed with a significand shift, so
  fbits >= 64 works too. The carry out of 1.11..1 is detected for fbits + 1 == 63,
  where UINT64_MAX used to round into bit 63 and read back -0.
- Subnormal float and double values converted to zero; they are now normalized.
- Integer conversion negated INT_MIN (UB), sent plain char through the unsigned path
  (char(-1) read back -2.2e12) and mis-scaled narrow integers into wide targets.
  The magnitude is taken in the unsigned domain and unsigned char gets its own
  overload.
- A MUL or DIV blocktriple built from a native value now has the operand layout
  mul() and div() consume (radix fbits for MUL; the divshift-aligned radix for DIV,
  as cfloat builds them), and integers are aligned like native values.
- to_native() read the overflow bit of a MUL/DIV/SQRT result as a sign
  (1.5 * 1.5 read back -1.19): only the ADD layout is 2's complement.
- ==, <, <=, >, >= follow IEEE-754: NaN unordered, +0 == -0, -inf < x < +inf
  (+inf < 1 was true, nan == nan was true).

blockbinary
- /= and %= at nbits == limb width cast through the signed native type whatever
  the encoding (Unsigned 200 / 2 = 228, 200 % 7 = 0) and trapped on maxneg / -1.
  Signed maxneg / -1 now wraps to maxneg and maxneg % -1 is 0; longdivision accepts
  Unsigned.
- New BLOCKBINARY_THROW_ARITHMETIC_EXCEPTION guard (default 0) and
  blockbinary_divide_by_zero: x / 0 and x % 0 return 0, or r... (continued)

608 of 721 new or added lines in 12 files covered. (84.33%)

88 existing lines in 8 files now uncovered.

62162 of 69836 relevant lines covered (89.01%)

11234904.44 hits per line

Uncovered Changes

Lines Coverage ∆ File
26
76.36
internal/blockfraction/api/edges.cpp
24
79.49
internal/blockbinary/arithmetic/division_edges.cpp
22
83.08
internal/blocktriple/conversion/native_edges.cpp
20
77.53
internal/blocksignificand/api/edges.cpp
16
79.22
internal/blocktriple/logic/special_values.cpp
2
45.45
2.6% internal/blockbinary/logic/shift_right.cpp
2
61.11
2.49% internal/blocksignificand/arithmetic/rounding.cpp
1
90.57
-4.29% include/sw/universal/internal/blockbinary/blockbinary.hpp

Coverage Regressions

Lines Coverage ∆ File
28
90.57
-4.29% include/sw/universal/internal/blockbinary/blockbinary.hpp
19
81.05
-10.05% internal/blockbinary/api/rounding.cpp
18
83.87
18.61% include/sw/universal/internal/blockfraction/blockfraction.hpp
17
23.68
-62.03% internal/blockfraction/conversion/conversion.cpp
2
85.93
-0.3% include/sw/universal/number/qd/qd_impl.hpp
2
76.67
-8.7% internal/blocktriple/arithmetic/multiplication.cpp
1
95.92
6.08% include/sw/universal/internal/blocktriple/blocktriple.hpp
1
72.73
-14.55% internal/blocktriple/conversion/conversion.cpp
Jobs
ID Job ID Ran Files Coverage
1 43483250202.1 13 Nov 2026 07:03PM UTC 887
89.01
GitHub Action Run
Source Files on build 43483250202
  • Tree
  • List 887
  • Changed 18
  • Source Changed 16
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43483250202
  • a4dbcced on github
  • Prev Build on main (#43070836172)
  • Next Build on main (#43503536557)
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