The OpenD Programming Language

Int128.opOpAssign

arithmetic assignment operators += -= *= /= %= &= |= ^= <<= >>= >>>=

  1. Int128 opOpAssign(Int128 op2)
  2. Int128 opOpAssign(Int op2)
    struct Int128
    ref
    opOpAssign
    (
    string op
    Int
    )
    (
    auto ref Int op2
    )
    if (
    (
    op == "+" ||
    op == "-"
    ||
    op == "*"
    ||
    op == "/"
    ||
    op == "%"
    ||
    op == "&"
    ||
    op == "|"
    ||
    op == "^"
    ||
    op == "<<"
    ||
    op == ">>"
    ||
    op == ">>>"
    )
    &&
    is(Int : long)
    )

Parameters

op2 Int

second operand

Return Value

Type: Int128

lvalue of updated left operand

Meta