OverflowBehavior
public enum OverflowBehavior : Sendable
The result of overflow during mathematical operations.
-
Overflow is ignored.
This value is the default, and is thus omitted from
Builtinfunction names (e.g.Builtin.add_i32).Declaration
Swift
case ignore -
The result is a poison value should unsigned overflow occur.
Declaration
Swift
case nuw -
The result is a poison value should signed overflow occur.
Declaration
Swift
case nsw
View on GitHub