zfp · shipping · also ZFP compression

zfp

zfp is a block-based codec for numerical arrays with selectable compressed-size, precision, absolute-error and reversible modes.

Blocks: The lossy path partitions a d-dimensional array into blocks of 4^d values, aligns exponents, applies an integer transform and encodes coefficient bit planes. Edge blocks are padded when dimensions are not multiples of four. The current algorithm differs from the original 2014 method. [5] [1]

Controls: Fixed rate budgets compressed bits per block; fixed precision limits coefficient bit planes; fixed accuracy targets an absolute tolerance with data-dependent size. Precision does not specify the mantissa bits retained in every input value. [3]

Limits: A shared exponent can erase small values beside much larger ones. Fixed precision does not give a uniform pointwise relative-error guarantee; absolute tolerances below available block precision may also be unattainable. Zero tolerance is near-lossless, not reversible mode. [4]

Accounting: A native 5 by 3 binary32 example at 8 bits per padded value occupies 32 payload bytes, or 256/15 bits per original value. Two 4 by 4 blocks are encoded. This excludes headers, array metadata and caches. [6]

Relations

related
fpzip, Error-bounded lossy compression, Lossless compression

Citations

  1. Lindstrom (2014): Fixed-Rate Compressed Floating-Point Arrays, sections 3-6; DOI 10.1109/TVCG.2014.2346458 (accessed 2026-11-17)
  2. zfp 1.0.1: Compression modes (accessed 2026-11-17)
  3. zfp 1.0.1: FAQ 17, 20 and 21, finite precision and relative error (accessed 2026-11-17)
  4. zfp 1.0.1: block layout and lossy compression algorithm (accessed 2026-11-17)
  5. Hesela: native zfp 1.0.1 error budgets and padded-block byte accounting (accessed 2026-11-17)

Further reading

  1. Diffenderfer et al. (2019): Error Analysis of ZFP Compression for Floating-Point Data, sections 4-6, arXiv v3 (accessed 2026-11-17)
Sources & caveats
  • Source synthesis plus 56 constructed native API observations on zfp 1.0.1; no production compression ratio or speed estimate.
  • The 2014 paper evaluates double-precision simulation fields; the published Hesela probe uses small binary32 arrays and does not reproduce that evaluation.
  • The exact source revision, build settings, inputs, decoded values and compressed bytes are published with the probe.

JSON: /data/terms/zfp.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. zfp. Hesela. 2026-11-17. https://hesela.dev/terms/zfp/