Usage
add!(x, y)
minus!(x, y)
minus! x
Signatures
minus!: % % add!, minus!: (%, %) %
Parameter | Type | Description |
---|---|---|
x, y | % | Elements of the type |
Returns
add!() and minus!() returns respectively and , while minus! x returns the opposite of . In all cases, the storage used by x is allowed to be destroyed or reused, so x is lost after this call.
Remarks
Those functions may cause x to be destroyed, so do not use them unless x has been locally allocated, and is guaranteed not to share space with other elements. Some functions are not necessarily copying their arguments and can thus create memory aliases.
See Also
+,-