Negatable
public protocol NegatableRaw protocol backing the unary - operator.
On signed two's-complement integers, negating the minimum value overflows
(e.g. -Int8.minValue == Int8.minValue); the operator wraps. Use
checkedNegate if overflow needs to surface.
Associated Types
type Output
type OutputMethods
consuming func negate() -> Output
consuming func negate() -> OutputReturns -self.
Defined in lang/std/core/arithmetic.ks