[ 
https://issues.apache.org/jira/browse/SOLR-6562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14148402#comment-14148402
 ] 

Xu Zhang commented on SOLR-6562:
--------------------------------

This is floating number precision nature, when using float to represent big 
numbers, we will lose precision. Do we really need to support 
arbitrary-precision numbers ?


> Function query calculates the wrong value
> -----------------------------------------
>
>                 Key: SOLR-6562
>                 URL: https://issues.apache.org/jira/browse/SOLR-6562
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.9
>            Reporter: Stefan Neumüller
>            Priority: Critical
>
> This calculation 
> fl=sub(sum(abs(sub(1416906516710,1416783600000)),abs(sub(103680000000000,1416906516710))),102263216400000)
>  should return 0. But the calculated value is 8388608



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to