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
Accoring to the article “Wade not in unknown waters. Part three” we may not perform a bit shift of negative integers. Still, we need to do it when converting from negative SmallInt value to it's pointer representation.
We need to provide a workaround that will eliminate possible UB and not corrupt the value's sign.
The text was updated successfully, but these errors were encountered:
Accoring to the article “Wade not in unknown waters. Part three” we may not perform a bit shift of negative integers. Still, we need to do it when converting from negative SmallInt value to it's pointer representation.
We need to provide a workaround that will eliminate possible UB and not corrupt the value's sign.
The text was updated successfully, but these errors were encountered: