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
Overflow has defined behavior for UInt64, specifically that it wraps. Bounds inference currently only catches overflow for unsigned integers with <= 32 bits and signed integers <= 16 bits. We currently use upcasting and can-prove (seen in #5618), but can't upcast for UInt64 yet. If we add such functionality, or find some other way to prove no overflow, this should be added to bounds inference.
Note that this is not specifically referencing catching overflow using UIntImms, but general UInt64 types.
The text was updated successfully, but these errors were encountered:
Overflow has defined behavior for
UInt64
, specifically that it wraps. Bounds inference currently only catches overflow for unsigned integers with<= 32
bits and signed integers<= 16
bits. We currently use upcasting andcan-prove
(seen in #5618), but can't upcast forUInt64
yet. If we add such functionality, or find some other way to prove no overflow, this should be added to bounds inference.Note that this is not specifically referencing catching overflow using
UIntImm
s, but generalUInt64
types.The text was updated successfully, but these errors were encountered: