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

[Merged by Bors] - chore(*): release 3.45.0 #745

Closed
wants to merge 5 commits into from

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Jul 13, 2022

No description provided.

EdAyers and others added 5 commits July 13, 2022 16:00
…n serialization (#743)

The original code for reading integers from the json would truncate large integers. This now ensures that no precision is lost converting between the `json` C++ API and the lean API.
This now also uses `uint64_t` or `int64_t` to write Lean integers into json if possible, choosing whichever the lean integer fits in.

Unfortunately our json library does not support big integers, so overflow into inexact floats is unavoidable for larger integers. This probably is made worse by the fact that we don't have a `native.double`, so the precision loss can be quite significant.

This also adds a `json.decidable_eq` instance, since it's useful in the tests and I needed it in downstream tests too.

Alternative to #740.

Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@eric-wieser eric-wieser changed the base branch from staging to master July 13, 2022 16:14
@eric-wieser
Copy link
Member Author

This should wait for #743 to finish merging

@gebner
Copy link
Member

gebner commented Jul 13, 2022

bors r+

bors bot pushed a commit that referenced this pull request Jul 13, 2022
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@bors
Copy link

bors bot commented Jul 13, 2022

@bors bors bot changed the title chore(*): release 3.45.0 [Merged by Bors] - chore(*): release 3.45.0 Jul 13, 2022
@bors bors bot closed this Jul 13, 2022
@bors bors bot deleted the eric-wieser/release-3.45.0 branch July 13, 2022 19:48
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

Successfully merging this pull request may close these issues.

3 participants