kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KYLIN-3483) Imprecise comparison between double and integer division
Date Sun, 05 Aug 2018 10:40:00 GMT

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

ASF GitHub Bot commented on KYLIN-3483:
---------------------------------------

tttMelody opened a new pull request #187: KYLIN-3483, fix the loss of precision in HLLCSerializer.
URL: https://github.com/apache/kylin/pull/187
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Imprecise comparison between double and integer division
> --------------------------------------------------------
>
>                 Key: KYLIN-3483
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3483
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: jiatao.tao
>            Priority: Minor
>
> In HLLCSerializer :
> {code}
>                 || averageNumOfElementsInCounter < (m - 5) / (1 + registerIndexSize))
{
> {code}
> The integer division on the right side of  < would lose remainder, or fractional part
of the quotient.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message