Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent decimal.Neg from returning -0 #78

Merged
merged 1 commit into from
Jul 27, 2018
Merged

Prevent decimal.Neg from returning -0 #78

merged 1 commit into from
Jul 27, 2018

Conversation

maddyblue
Copy link
Contributor

This behavior is explicitly tested for in GDA, but the implementation was
only in the Context struct. Move it to the Decimal struct so that any
users of Decimal will benefit from this, as it is standard across int,
float, and decimal specifications.

This behavior is explicitly tested for in GDA, but the implementation was
only in the Context struct. Move it to the Decimal struct so that any
users of Decimal will benefit from this, as it is standard across int,
float, and decimal specifications.
@maddyblue maddyblue merged commit 9c2ab8e into master Jul 27, 2018
@maddyblue maddyblue deleted the decimal-neg branch July 27, 2018 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants