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

Fix negation and signum to consistently handle negative zero across platforms #344

Merged
merged 2 commits into from
Sep 30, 2022

Conversation

atlv24
Copy link
Contributor

@atlv24 atlv24 commented Sep 29, 2022

The implementation gave different results on different target platforms when working with negative zero.

@atlv24 atlv24 mentioned this pull request Sep 29, 2022
@bitshifter
Copy link
Owner

Just needs a rustfmt I think

@bitshifter bitshifter merged commit 4cc6967 into bitshifter:main Sep 30, 2022
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.

2 participants