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

Base utilities for exact reals #667

Merged
merged 2 commits into from
Jun 8, 2024
Merged

Conversation

dpsanders
Copy link
Member

@dpsanders dpsanders commented Jun 2, 2024

Defines Base.hash and Base.isfinite for ExactReals.

This is necessary so that they work with Symbolics.jl.

@Kolaru
Copy link
Collaborator

Kolaru commented Jun 3, 2024

Do you think it would be good to have tests checking the compatibility with Symbolics ? (I think you are probably the main user of Symbolics + IA, so I would say it's up to you)

@dpsanders
Copy link
Member Author

Yes I think that would be great. I'm just not sure how to do that (a test-only dependency).

@OlivierHnt
Copy link
Member

There is a Project.toml file in the test folder. You could pkg> add Symbolics to it.

@OlivierHnt
Copy link
Member

OlivierHnt commented Jun 6, 2024

Btw you should rebase this branch

If it's too complicated to add unit testing for Symbolics.jl, then I am not opposed to merge this PR as is (since it's a very straightforward feature to add).

@OlivierHnt OlivierHnt merged commit 7ff253f into master Jun 8, 2024
32 checks passed
@OlivierHnt OlivierHnt deleted the dps-utilities-exact-reals branch June 8, 2024 15:22
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