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

Fix fromRational bug #338

Merged
merged 1 commit into from
Aug 7, 2024
Merged

Fix fromRational bug #338

merged 1 commit into from
Aug 7, 2024

Conversation

TeofilC
Copy link
Contributor

@TeofilC TeofilC commented Aug 7, 2024

Postgresql and Haskell differ in how they print numbers at the limits of a double's precision. When these numbers have whole digits, we have less precision to give to the decimal part, so we need to be less accurate than 1e15.

Resolves #337

Postgresql and Haskell differ in how they print numbers at the limits of
a double's precision. When these numbers have whole digits, we have less
precision to give to the decimal part, so we need to be less accurate
than 1e15.
@TeofilC TeofilC force-pushed the wip/teo/fix-fromRational branch 2 times, most recently from 9848ce1 to 72c2a69 Compare August 7, 2024 13:51
@TeofilC TeofilC enabled auto-merge (squash) August 7, 2024 13:51
@TeofilC TeofilC merged commit d9a6244 into master Aug 7, 2024
4 checks passed
@TeofilC TeofilC deleted the wip/teo/fix-fromRational branch August 7, 2024 13:52
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.

fromRational test failure
1 participant