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

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

Build:
Build:
LAST BUILD BRANCH: fix/fixpnt-quire-resolve-saturates
DEFAULT BRANCH: master
Ran 16 Nov 2026 05:18AM UTC
Jobs 1
Files 895
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

16 Nov 2026 04:46AM UTC coverage: 89.164% (+0.01%) from 89.154%
43806091513

push

github

web-flow
fix(zfpblock): subnormal, inf and NaN blocks, lossless reversible, fixed accuracy and precision, rate floor, zfparray bounds (#2099)

The zfpblock findings of sweep #2084, with the decisions on #2097:
- A block of subnormal magnitudes wrapped its biased exponent: float
  {1e-40, ...} decoded as 1.16e37, double 1e-310 as 3.2e306. fwd_cast clamps
  emax at 1 - ebias, as the ZFP reference does.
- inf and NaN went through an undefined integer cast, and {inf, 1, 2, 3}
  decoded as {-8, 1, 2, 3}. As decided, such a block is stored raw: the
  exponent field 0, which no coded block uses now, marks it, and the IEEE bit
  patterns follow. It round-trips exactly in every mode; a fixed rate too
  small for it decodes it as all NaN.
- The bit-plane coder skipped planes k >= maxprec, so it coded the BOTTOM
  maxprec planes: a fixed precision below full dropped every significant
  bit. It codes the top maxprec planes, as ZFP does. (Found while fixing
  fixed accuracy, which relies on it.)
- fixed_accuracy ignored its tolerance. Each block codes
  emax - floor(log2(tol)) + 2 (Dim + 1) planes, ZFP's rule, and a block that
  still misses it is stored raw: a value below the block's quantum rounds to
  zero whatever the plane count (float {1, 2^-40, 0, 0} at 2^-45, from
  review).
- reversible was the lossy pipeline at full precision: 0.1f came back as
  0.099999994. A block the pipeline does not reproduce bit for bit is stored
  raw, so reversible is lossless.
- A fixed rate below the header zeroed every block, and a negative or NaN
  rate was undefined. As decided, such rates clamp to the header + 4 bits
  (13 bits for float, 16 for double); a rate past the raw size is capped
  there. A block can still decode to zero at a very low rate, as in the ZFP
  reference: a guaranteed nonzero result would need up to header + 2N + 5
  bits (142 for a 3D float block).
- zfparray had no bounds checking: set(100, x) on an 8-element array wrote
  past the store. set and operator() t... (continued)

94 of 97 new or added lines in 3 files covered. (96.91%)

63809 of 71564 relevant lines covered (89.16%)

12632311.0 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
96.34
-3.66% include/sw/universal/number/zfpblock/zfpblock_impl.hpp
Jobs
ID Job ID Ran Files Coverage
1 43806091513.1 16 Nov 2026 05:18AM UTC 895
89.16
GitHub Action Run
Source Files on build 43806091513
  • Tree
  • List 895
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43806091513
  • d370ba0b on github
  • Prev Build on main (#43798278173)
  • Next Build on main (#43834366987)
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