quantize

Returns the number which is equal in value and sign to the first operand with the exponent of the second operand. The returned value is rounded to the current precision. This operation may set the invalid-operation flag. Implements the 'quantize' function in the specification. (p. 36-37)

D
quantize
(
D
)
(
in D left
,
in D right
,
Context context = D.context
)

Meta