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
I've run into a false verification because 0-50 == 0. This is because Caesar infers types UInt for the number literals and then interprets - as truncating at zero. This is extremely confusing. I propose adding a dedicated operator for truncating subtraction at zero and otherwise interpreting - as the usual subtraction.
The text was updated successfully, but these errors were encountered:
I've run into a false verification because
0-50 == 0
. This is because Caesar infers typesUInt
for the number literals and then interprets-
as truncating at zero. This is extremely confusing. I propose adding a dedicated operator for truncating subtraction at zero and otherwise interpreting-
as the usual subtraction.The text was updated successfully, but these errors were encountered: