Skip to content

fix: Normalize NaN and zeros for floating number comparison#953

Merged
viirya merged 5 commits intoapache:mainfrom
viirya:normalize_zeros
Sep 22, 2024
Merged

fix: Normalize NaN and zeros for floating number comparison#953
viirya merged 5 commits intoapache:mainfrom
viirya:normalize_zeros

Conversation

@viirya
Copy link
Copy Markdown
Member

@viirya viirya commented Sep 19, 2024

Which issue does this PR close?

Closes #663.

Rationale for this change

What changes are included in this PR?

How are these changes tested?

@kazuyukitanimura
Copy link
Copy Markdown
Contributor

Related #585

Copy link
Copy Markdown
Member

@andygrove andygrove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I ran TPC-H and saw no regression. Thanks @viirya

@andygrove
Copy link
Copy Markdown
Member

@viirya Should there be any update to the documentation, such as the compatibility guide as part of this PR?

@viirya
Copy link
Copy Markdown
Member Author

viirya commented Sep 22, 2024

@viirya Should there be any update to the documentation, such as the compatibility guide as part of this PR?

Good suggestion. Let me add one.

@viirya viirya merged commit 7a6f47f into apache:main Sep 22, 2024
@viirya
Copy link
Copy Markdown
Member Author

viirya commented Sep 22, 2024

Thanks @andygrove

@viirya viirya deleted the normalize_zeros branch September 22, 2024 21:09
kazuyukitanimura added a commit that referenced this pull request Sep 27, 2024
## Rationale for this change

This is a followup PR of #953 

## What changes are included in this PR?

Updated the template, otherwise `make release` will wipe it out
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.

Comparison between negative zero and false produces incorrect result

3 participants