The OpenD Programming Language

BigUIntView.twoComplementInPlace

Performs number=-number operatrion. Precondition: non-empty coefficients

struct BigUIntView(W)
@safe scope
static if(isMutable!W && W.sizeof >= 4)
bool
twoComplementInPlace
()
if (
__traits(isUnsigned, W)
)

Return Value

Type: bool

true if 'number=-number=0' and false otherwise

Meta