You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In rare cases, SPERR violates the error tolerance set by --pwe.
To Reproduce
Steps to reproduce the behavior:
Download the Nyx dark matter density field from SDRBench.
Compress field with compressor_3d --dims 512 512 512 --pwe 0x1p-44 -o dmd.sperr dark_matter_density.f32.
Decompress field with decompressor_3d -o dmd.bof dmd.sperr.
Expected and actual behavior
All values should differ by no more than 2-44. The observed maximum absolute error is 7.616e-14, which exceeds the error tolerance of 2-44 ≈ 5.684e-14.
Environment (please complete the following information):
OS: macOS 11.7.1
Compiler: AppleClang 13.0.0.13000029
SPERR Version:
SPERR version: 0.5
Based on code Branch: main
Based on code SHA1 : 48880dd-dirty
The text was updated successfully, but these errors were encountered:
* header keeps the number of useful bits rather than bytes. Fix issue #181
* compressor_3d releases compressor resources before doing decompression
* bump version to 0.5.2
Co-authored-by: Samuel Li <Sam@Navada>
Hi Peter, I've located this bug, and believe that it's fixed now (tag v0.5.2). Could you verify?
(I borrowed a header definition from my integer-based implementation, and that's a better definition ;) )
Describe the bug
In rare cases, SPERR violates the error tolerance set by
--pwe
.To Reproduce
Steps to reproduce the behavior:
compressor_3d --dims 512 512 512 --pwe 0x1p-44 -o dmd.sperr dark_matter_density.f32
.decompressor_3d -o dmd.bof dmd.sperr
.Expected and actual behavior
All values should differ by no more than 2-44. The observed maximum absolute error is 7.616e-14, which exceeds the error tolerance of 2-44 ≈ 5.684e-14.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: