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
if (data> (-0x7fffffffffffffff-1) &&imaxabs((intmax_t)data) <= sqrtl(0x7fffffffffffffffLL))
{
int64_tresult=data*data; // TODO NOWARN
The fix involved BaseInvariant refinement of float-integer casts in a possibly incorrect way, so it was reverted in #1519. However, it should still be possible to implement sound refinement of such casts.
The text was updated successfully, but these errors were encountered:
PR #1519 originally tried to handle this from SV-COMP:
analyzer/tests/regression/39-signed-overflows/12-imaxabs-sqrt.c
Lines 6 to 9 in ec06dea
The fix involved
BaseInvariant
refinement of float-integer casts in a possibly incorrect way, so it was reverted in #1519. However, it should still be possible to implement sound refinement of such casts.The text was updated successfully, but these errors were encountered: