You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we subtract the same values, the result value is not reported as equal to other zero values by the Cmp and Equal methods and the direct == equality operator, this is due to the result having the field neg set to true after the subtraction.
The text was updated successfully, but these errors were encountered:
mdawar
changed the title
Decimal value zero obtained form subtraction does not equal to other zero values
Decimal value of zero obtained from subtraction does not equal to other zero values
Oct 16, 2024
mdawar
added a commit
to mdawar/udecimal
that referenced
this issue
Oct 16, 2024
If we subtract the same values, the result value is not reported as equal to other zero values by the
Cmp
andEqual
methods and the direct==
equality operator, this is due to the result having the fieldneg
set totrue
after the subtraction.The text was updated successfully, but these errors were encountered: