Skip to content

Absolute Error Bound Exceeded #102

@Gyhanis

Description

@Gyhanis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions