Skip to content

fix: reject edge cases#726

Merged
proost merged 3 commits intoapache:mainfrom
proost:fix-reject-edge-cases
Mar 18, 2026
Merged

fix: reject edge cases#726
proost merged 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
@leerho
Copy link
Member

leerho commented Mar 18, 2026

Thank you

@proost proost merged commit f5d261a into apache:main Mar 18, 2026
7 checks passed
@proost proost deleted the fix-reject-edge-cases branch March 18, 2026 22:49
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