dfmt/tests/knr/issue0032.d.ref

8 lines
191 B
Plaintext

SignExtendedNumber opSub(const SignExtendedNumber a) const
{
if (a.isMinimum())
return negative ? SignExtendedNumber(value, false) : max();
else
return this + (-a);
}