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

[Asl] Explode constant intervals before multiplication #896

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

HadrienRenaud
Copy link
Collaborator

@HadrienRenaud HadrienRenaud commented Jul 5, 2024

This PR implements a transformation of intervals into sets before doing a multiplication in order not to lose any precision on those. This can only be done for constant sets and up to a certain point, here the maximum set size for which this is done is 1 lsl 31, or a bit more than 1 billion.

@HadrienRenaud HadrienRenaud force-pushed the asl-explode-intervals branch 2 times, most recently from e94cd18 to 9ecd586 Compare July 5, 2024 21:02
asllib/Typing.ml Outdated Show resolved Hide resolved
asllib/Typing.ml Outdated Show resolved Hide resolved
asllib/Typing.ml Outdated Show resolved Hide resolved
@HadrienRenaud HadrienRenaud force-pushed the asl-explode-intervals branch 4 times, most recently from b9f34b0 to 479145c Compare July 9, 2024 15:00
@HadrienRenaud HadrienRenaud marked this pull request as ready for review July 9, 2024 15:02
Copy link
Collaborator

@Roman-Manevich Roman-Manevich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@HadrienRenaud HadrienRenaud merged commit e2aefc5 into herd:master Jul 10, 2024
3 checks passed
@HadrienRenaud HadrienRenaud deleted the asl-explode-intervals branch July 10, 2024 08:44
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.

2 participants