-
Notifications
You must be signed in to change notification settings - Fork 274
VSD Intervals #5354
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
VSD Intervals #5354
Conversation
(INT) Interval values
Also fix wrong placing of parentheses in output
As it stands in conflicted with the method from exprt
So they don't conflict with the exprt methods
Also, mark them as explicit where appropriate and add some documentation
Also replace some asserts with INVARIANT, PRECONDITION or UNREACHABLE
Also left some comments for things that need to be cleaned up in the future
Also, refactor minus and correct a typo in the comments
And also add tests for it.
and add tests for them and eval.
Previously the typecast operator for interval_exprt simply set the type on the bounds; This yielded incorrect results for widening or narrowing casts. This delegates the typecast handling to simplify_expr instead.
CI failing due to seemingly missing unit tests from the Makefile |
Codecov Report
@@ Coverage Diff @@
## develop #5354 +/- ##
========================================
Coverage 68.04% 68.04%
========================================
Files 1172 1172
Lines 97151 97151
========================================
Hits 66106 66106
Misses 31045 31045
Continue to review full report at Codecov.
|
On this branch I've attempted to start tidying up the interface - but this work should wait until VSD is merged, to avoid having to dive into the VSD commits and fixing them inline |
Rebased version of #5203 to see codecov report