Decimal.opUnary

Implementation of +/- unary operators. These operations are silent, no exceptions are thrown

  1. auto opUnary()
  2. auto opUnary()
    struct Decimal(int bits)
    @safe pure nothrow @nogc const
    @IEEECompliant("negate", 23)
    opUnary
    (
    string op : "-"
    )
    ()
    if (
    bits == 32 ||
    bits == 64
    ||
    bits == 128
    )
  3. auto ref opUnary()
  4. auto ref opUnary()

Meta