plus

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

Note: This operation rounds the result and may set flags. To copy without rounding or setting flags use the 'copy' function.

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

Meta

Standards

Implements the 'plus' function in the specification. (p. 33)

Flags: INVALID_OPERATION