kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaofeng SHI (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KYLIN-3483) Imprecise comparison between double and integer division
Date Mon, 06 Aug 2018 01:12:00 GMT

     [ https://issues.apache.org/jira/browse/KYLIN-3483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shaofeng SHI updated KYLIN-3483:
--------------------------------
    Fix Version/s: v2.5.0

> 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
>             Fix For: v2.5.0
>
>
> 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