negs

fnint negs()(int x, ref bool overflow)

Negate an integer.

Parameters

xoperand
overflowset if x cannot be negated, is not affected otherwise

Returns

the negation of x
fnlong negs()(long x, ref bool overflow)

ditto