dfmt/tests/issue0032.d

6 lines
168 B
D

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