minus

Returns a copy of the argument with the opposite sign. The result is equivalent to subtract('0', arg).

This operation rounds the argument and may set flags. To copy without rounding or setting flags use the 'copyNegate' function.

Implements the 'minus' function in the specification. (p. 37)

Flags: INVALID_OPERATION

D
minus
(
D
)
(
in D num
,
Context context = D.context
)

Meta