Re: [I] Reproducible failure in TestXYPoint.testEqualsAndHashCode [lucene]

2024-04-15 Thread via GitHub
easyice closed issue #13292: Reproducible failure in TestXYPoint.testEqualsAndHashCode URL: https://github.com/apache/lucene/issues/13292 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific

[I] Reproducible failure in TestXYPoint.testEqualsAndHashCode [lucene]

2024-04-10 Thread via GitHub
easyice opened a new issue, #13292: URL: https://github.com/apache/lucene/issues/13292 ### Description This failure is because when comparing float values using the `==` operation, `-0.0` is equal to `0.0`, but their hashcode is different. should we use `Float.compare` or `Float.floa