mirror of
https://github.com/neondatabase/neon.git
synced 2026-06-02 04:50:38 +00:00
Fix pow_2_32 defintion
This commit is contained in:
@@ -99,7 +99,7 @@ approximate_distinct_count(uint8* max_zero_bits)
|
||||
{
|
||||
const int m = N_HASHES;
|
||||
const double alpha_m = 0.7213 / (1 + 1.079 / (double)m);
|
||||
const double pow_2_32 = 0xffffffff;
|
||||
const double pow_2_32 = 4294967296.0;
|
||||
double E, c = 0;
|
||||
int i;
|
||||
for (i = 0; i < m; i++)
|
||||
|
||||
Reference in New Issue
Block a user