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 for 32-bit Visual Studio when not set to round to nearest #225

Merged
merged 2 commits into from
Nov 27, 2023

Conversation

lemire
Copy link
Member

@lemire lemire commented Nov 27, 2023

In some cases, Visual Studio, when compiling 32-bit binaries, gets 0*something == -0 even when the 'something' is positive, if the system is not set to round to nearest.

(This is very narrow and I can't reproduce it locally. The patch is a precaution.)

0*something == -0 even when the 'something' is positive, when the system
is not set to compile to nearest.
@lemire lemire merged commit 35d5231 into main Nov 27, 2023
70 checks passed
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.

1 participant