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

Support Decimals.jl v0.5 #307

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

alyst
Copy link

@alyst alyst commented Feb 26, 2025

This is a version of PR #306 that, in addition to updating the Decimals.jl to 0.5, also fixes the decimals-related tests.
The details for the test fixes are in the 2nd commit message.

I think the remaining test failures (more allocs than expected and some error message inconsistencies) are not related to decimals.

Closes #306

Alexey Stukalov added 2 commits February 25, 2025 21:39
* Decimals.jl v0.5 drops decimal() function, replace it with
parse(Decimal, "...")
* workaround the difference between the printing precision of BigFloat
and the storage precision of Decimal.
@alyst alyst changed the title support Decimals.jl v0.5 Support Decimals.jl v0.5 Feb 26, 2025
@alyst
Copy link
Author

alyst commented Feb 26, 2025

@iamed2 / @quinnj Could either of you review this PR? And, if it looks good to you, release a new patch version?

A number of packages, e.g. Turing.jl or SymbolicUtils.jl indirectly depend on Decimals.jl
LibPQ.jl not supporting Decimals.jl 0.5 prevents (quite obscurely) these packages from updating to the recent versions.

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.

1 participant