Closed ajpal closed 5 months ago
This PR changes to using separate lo-bound and hi-bound tables instead of one ival table (as discussed in lab today)
lo-bound
hi-bound
ival
The first test roughly corresponds to:
if (input <= 0) { y = -1 * input } else { y = input } return y < 0
And the interval analysis reduces this to just false
false
The second test roughly corresponds to:
if (0 <= input) { y = -1 * input } else { y = input } return 0 < y
Which is also false.
This one will need to be rebased on main (sorry) Should be pretty easy to migrate, lmk if you have problems
This PR changes to using separate
lo-bound
andhi-bound
tables instead of oneival
table (as discussed in lab today)The first test roughly corresponds to:
And the interval analysis reduces this to just
false
The second test roughly corresponds to:
Which is also
false
.