BigIntView.opOpAssign

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

  1. bool opOpAssign(BigIntView!(const W, endian) rhs, bool overflow)
    struct BigIntView(W, WordEndian endian = TargetEndian)
    @safe pure nothrow @nogc
    static if(isMutable!W && W.sizeof >= 4)
    bool
    opOpAssign
    (
    string op
    )
    (
    scope BigIntView!(const W, endian) rhs
    ,
    bool overflow = false
    )
    if (
    op == "+" ||
    op == "-"
    )
    if (
    is(Unqual!W == ubyte) ||
    is(Unqual!W == ushort)
    ||
    is(Unqual!W == uint)
    ||
    is(Unqual!W == ulong)
    )
  2. bool opOpAssign(BigUIntView!(const W, endian) rhs, bool overflow)
  3. bool opOpAssign(T rhs)
  4. bool opOpAssign(T rhs)
  5. W opOpAssign(W rhs, W overflow)

Parameters

rhs BigIntView!(const W, endian)

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