Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Absolute Error Bound Exceeded #102

Open
Gyhanis opened this issue Nov 16, 2022 · 0 comments
Open

Absolute Error Bound Exceeded #102

Gyhanis opened this issue Nov 16, 2022 · 0 comments

Comments

@Gyhanis
Copy link

Gyhanis commented Nov 16, 2022

I wrote a testing program, and found that in some cases the error of SZ(v2.1.12.2) exceeds the absolute error bound.

$ ./sz_test < data
data len: 171840
compressed len: 97787
Error at 66559: 116.3225489999999951 vs 116.3225589999999983 (diff: 0.0000100000000032)

The exceeded error is so close to the error bound that I believe it is caused by floating point computation.
I would like to know that whether I'm using SZ in a wrong way, or it is just a bug.
The testing code and data are in the attachments.
Thanks.

CodeAndData.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant