You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/08/03 19:52:00 UTC
[jira] [Created] (KYLIN-3483) Imprecise comparison between double
and integer division
Ted Yu created KYLIN-3483:
-----------------------------
Summary: 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
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)