Skip to content

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

Closed
wants to merge 37 commits into from
Closed

VSD Intervals #5354

wants to merge 37 commits into from

Conversation

thk123
Copy link
Contributor

@thk123 thk123 commented May 21, 2020

Rebased version of #5203 to see codecov report

  • Each commit message has a non-empty body, explaining why the change was made.
  • Methods or procedures I have added are documented, following the guidelines provided in CODING_STANDARD.md.
  • The feature or user visible behaviour I have added or modified has been documented in the User Guide in doc/cprover-manual/
  • Regression or unit tests are included, or existing tests cover the modified code (in this case I have detailed which ones those are in the commit message).
  • My commit message includes data points confirming performance improvements (if claimed).
  • My PR is restricted to a single feature or bugfix.
  • White-space or formatting changes outside the feature-related changed lines are in commits of their own.

Daniel Neville and others added 30 commits May 21, 2020 17:43
(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 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.
@thk123
Copy link
Contributor Author

thk123 commented May 22, 2020

CI failing due to seemingly missing unit tests from the Makefile

@codecov
Copy link

codecov bot commented May 22, 2020

Codecov Report

Merging #5354 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #5354   +/-   ##
========================================
  Coverage    68.04%   68.04%           
========================================
  Files         1172     1172           
  Lines        97151    97151           
========================================
  Hits         66106    66106           
  Misses       31045    31045           
Flag Coverage Δ
#cproversmt2 42.47% <0.00%> (ø)
#regression 65.35% <0.00%> (ø)
#unit 31.94% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b41c4ec...b41c4ec. Read the comment docs.

@thk123
Copy link
Contributor Author

thk123 commented May 27, 2020

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

@thk123 thk123 closed this May 27, 2020
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.

5 participants