subu

fnuint subu()(uint x, uint y, ref bool overflow)

Subtract two unsigned integers, checking for overflow (aka borrow).

The overflow is sticky, meaning a sequence of operations can be done and overflow need only be checked at the end.

Parameters

xleft operand
yright operand
overflowset if an overflow occurs, is not affected otherwise

Returns

the difference
fnulong subu()(ulong x, ulong y, ref bool overflow)

ditto