提交 511b75f0 编写于 作者: X xywang

[TS-1318]<fix>: type cast

上级 8b2a85bd
......@@ -345,7 +345,7 @@ static uint64_t hllCountCnt(uint8_t *buckets) {
z *= 0.5;
}
z += m * hllSigma(buckethisto[0]/(double)m);
double E = llroundl(HLL_ALPHA_INF*m*m/z);
double E = (double) llroundl(HLL_ALPHA_INF*m*m/z);
return (uint64_t) E;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册