mul

Multiplies a decimal number by a long integer. The result may be rounded and context flags may be set. Not a required function, but useful because it avoids an unnecessary conversion to a decimal when multiplying by an integer.

  1. D mul(D x, D y, Context context)
  2. D mul(D x, U n, Context context)
    D
    mul
    (
    D
    U : long
    )
    (
    in D x
    ,
    in U n
    ,
    Context context = D.context
    )
  3. D mul(D x, U y, Context context)

Meta