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 NAN propagation through interval and / or opcodes #245

Merged
merged 2 commits into from
Feb 13, 2025

Conversation

mkeeter
Copy link
Owner

@mkeeter mkeeter commented Feb 12, 2025

[NaN, NaN] does not mean "this interval is guaranteed to be NaN"; instead it means "this interval may have any value". As such, we can't short-circuit when doing interval evaluation of And and Or opcodes. A NaN in either argument must be
propagated, and we must set the Choice::Both flag.

Fixes #240 (for real this time)

@mkeeter mkeeter merged commit 07d8f22 into main Feb 13, 2025
13 checks passed
@mkeeter mkeeter deleted the fix-interval-and-or branch February 13, 2025 12:47
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.

2D rendering inconsistencies between jit and vm
1 participant