BigUIntView.opOpAssign

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

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