BigUIntView.opOpAssign

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

  1. bool opOpAssign(BigUIntView!(const W, endian) rhs, bool overflow)
  2. bool opOpAssign(BigIntView!(const W, endian) rhs, bool overflow)
  3. bool opOpAssign(T rhs)
  4. bool opOpAssign(T rhs)
    struct BigUIntView(W, WordEndian endian = TargetEndian)
    @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 == Signed!W)
    )
    if (
    __traits(isUnsigned, W)
    )
  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