Skip to content

Fix fromRational bug#338

Merged
TeofilC merged 1 commit intomasterfrom
wip/teo/fix-fromRational
Aug 7, 2024
Merged

Fix fromRational bug#338
TeofilC merged 1 commit intomasterfrom
wip/teo/fix-fromRational

Conversation

@TeofilC
Copy link
Copy Markdown
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
@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