Skip to content

fix: reject edge cases#726

Open
proost wants to merge 3 commits intoapache:mainfrom
proost:fix-reject-edge-cases
Open

fix: reject edge cases#726
proost wants to merge 3 commits intoapache:mainfrom
proost:fix-reject-edge-cases

Conversation

@proost
Copy link
Member

@proost proost commented Feb 16, 2026

Rejecting two edge cases with positive infinity and NaN.

This is not expected input case. Although positive infinity itself makes sense(meaning always heavier), allowing positive can make NaN during delete slot process. And this is also inconsistency with C++ (see the issue: apache/datasketches-cpp#485)

@proost proost self-assigned this Feb 16, 2026
@proost proost requested a review from leerho February 16, 2026 07:53
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

Comments