Skip to content

If stuck, return proper boolean intervals - #144

Merged
pavpanchekha merged 1 commit into
mainfrom
fix-stuck-flags
Feb 7, 2026
Merged

If stuck, return proper boolean intervals#144
pavpanchekha merged 1 commit into
mainfrom
fix-stuck-flags

Conversation

@pavpanchekha

Copy link
Copy Markdown
Contributor

In rival-analyze-with-hints, if the interval is stuck but does not raise error flags, like in (copysign 1 0), we were returning the invalid boolean interval [#t, #f]. This PR fixes it to return [#t, #t]. Luckily this never caused problems for Herbie since it uses the low endpoint anyway.

@pavpanchekha
pavpanchekha merged commit c7884d1 into main Feb 7, 2026
1 check passed
@pavpanchekha
pavpanchekha deleted the fix-stuck-flags branch February 7, 2026 21:24
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