[
https://issues.apache.org/jira/browse/LUCENE-7594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15767983#comment-15767983
]
ASF subversion and git services commented on LUCENE-7594:
---------------------------------------------------------
Commit 18d53a43f7b4536572ef98a94ec1d9b529084d1b in lucene-solr's branch
refs/heads/master from [~jpountz]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=18d53a4 ]
LUCENE-7594: Fixed point range queries on floating-point types to recommend
using helpers for exclusive bounds that are consistent with Double.compare.
> Float/DoublePoint should not recommend using Math.nextUp/nextDown for
> exclusive ranges
> --------------------------------------------------------------------------------------
>
> Key: LUCENE-7594
> URL: https://issues.apache.org/jira/browse/LUCENE-7594
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-7594.patch
>
>
> Float/Double points are supposed to be consistent with Double/Float.compare,
> so +0 is supposed to compare greater than -0. However Math.nextUp/nextDown is
> not consistent with Double/Float.compare and returns MIN_VALUE for nextUp(-0).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]