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

Integers less than -2^63 aren't compressed losslessly #84

Closed
kirkrodrigues opened this issue Nov 28, 2022 · 0 comments
Closed

Integers less than -2^63 aren't compressed losslessly #84

kirkrodrigues opened this issue Nov 28, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@kirkrodrigues
Copy link
Member

Bug

Compressing a log with an integer less than -2^63 (e.g., -2^63 - 1) results in the integer being set to -2^63.

CLP version

583fdde

Environment

  • Ubuntu 20.04

Reproduction steps

  • Create a log with an integer smaller than -2^63, e.g., "This number is very negative: -9223372036854775810"
  • Compress the log
  • Decompress it and you'll see that the message has been decompressed as: "This number is very negative: -9223372036854775808"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant