The OpenD Programming Language

BigUIntView.opOpAssign

Performs bool overflow = big +(-)= big operatrion.

  1. bool opOpAssign(BigUIntView!(const W) rhs, bool overflow)
  2. bool opOpAssign(BigIntView!(const W) rhs, bool overflow)
    struct BigUIntView(W)
    @safe @safe pure nothrow @nogc scope
    static if(isMutable!W && W.sizeof >= 4)
    bool
    opOpAssign
    (
    string op
    )
    (
    scope BigIntView!(const W) rhs
    ,
    bool overflow = false
    )
    if (
    op == "+" ||
    op == "-"
    )
    if (
    __traits(isUnsigned, W)
    )
  3. bool opOpAssign(T rhs)
  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 BigIntView!(const W)

value to add with non-empty coefficients

overflow bool

(overflow) initial iteration overflow Precondition: non-empty coefficients length of greater or equal to the rhs coefficients length.

Return Value

Type: bool

true in case of unsigned overflow

Meta