eclipse-score / eclipse-score/persistency

Big integer numbers are stored incorrectly in json

Open
#204 4 comments 0 reactions 1 assignee Claimed by @arkjedrz View on GitHub
bug
Dominant language
Rust
Stars
2
Forks
28
Avg merge
2d 16h
Merged PRs (30d)
32

Description

When storing one of the following numbers:
- i64::MIN
- i64::MAX
- u64::MAX
with Rust KVS into json file, the values written to json are rounded.

e.g.
for i64::MAX we are trying to store 9223372036854775807, however 9223372036854776000 is saved in json file.

Example tests can be found:
https://github.com/eclipse-score/reference_integration/pull/72

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.