UIntFix.add

bool add(ulong a) @safe pure nothrow @nogc

Adds a in place.

Parameters

athe addend

Returns

true when the sum fits the capacity (the value is then

updated); false when it would overflow (the value is unchanged).

bool add()(auto ref const(UIntFix) o) @safe pure nothrow @nogc

Adds o in place.

Parameters

othe addend

Returns

true when the sum fits the capacity (the value is then

updated); false when it would overflow (the value is unchanged).