The OpenD Programming Language

BigUIntView.opOpAssign

Performs bool Overflow = big +(-)= scalar operatrion. Precondition: non-empty coefficients

  1. bool opOpAssign(BigUIntView!(const W) rhs, bool overflow)
  2. bool opOpAssign(BigIntView!(const W) rhs, bool overflow)
  3. bool opOpAssign(T rhs)
    struct BigUIntView(W)
    @safe @safe pure nothrow @nogc scope
    static if(isMutable!W && W.sizeof >= 4)
    bool
    opOpAssign
    (
    string op
    T
    )
    (
    const T rhs
    )
    if (
    (
    op == "+" ||
    op == "-"
    )
    &&
    is(T == W)
    )
    if (
    __traits(isUnsigned, W)
    )
  4. bool opOpAssign(T rhs)
  5. W opOpAssign(W rhs, W overflow)
  6. uint opOpAssign(uint rhs, uint overflow)
  7. UInt!size opOpAssign(UInt!size rhs, UInt!size overflow)

Parameters

rhs T

value to add

Return Value

Type: bool

true in case of unsigned overflow

Meta