You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
int m = rand(2, 9);
int y = rand(0, 2020);
int y2 = y + ((m + 1) / 12);
The relational numerical domain is able to infer that 12y + m ≤ 12y2 + 11 /\ 12y2 ≤ 12y + m + 1. I would have expected y2 = y since m+1 < 12 => (m+1)/12 = 0 over integers.
I guess the linearization could be improved in that case.
The text was updated successfully, but these errors were encountered:
Let us consider this simple program:
The relational numerical domain is able to infer that
12y + m ≤ 12y2 + 11 /\ 12y2 ≤ 12y + m + 1
. I would have expectedy2 = y
sincem+1 < 12 => (m+1)/12 = 0
over integers.I guess the linearization could be improved in that case.
The text was updated successfully, but these errors were encountered: