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 quadrant #684

Merged
merged 5 commits into from
Oct 2, 2024
Merged

Fix quadrant #684

merged 5 commits into from
Oct 2, 2024

Conversation

OlivierHnt
Copy link
Member

@OlivierHnt OlivierHnt commented Oct 2, 2024

When finding the quadrant of x::AbstratctFloat which is not inside $(-\pi, \pi)$, we divide by $2\pi$. The resulting interval may cover two quadrants due to rounding and we choose the one so that we cover the largest interval.
This PR ensures that we keep track of this widening.

Closes #683

@OlivierHnt OlivierHnt merged commit b5251ac into JuliaIntervals:master Oct 2, 2024
16 checks passed
@OlivierHnt OlivierHnt deleted the trigo branch October 2, 2024 16:42
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.

Cos returns invalid interval
1 participant