HyperLogLog apply bias correction using a polynomial.
HyperLogLog apply bias correction using a polynomial.

Better results can be achieved by compensating for the bias of the raw
approximation just after 2.5m (when LINEARCOUNTING is no longer used) by
using a polynomial that approximates the bias at a given cardinality.

The curve used was found using this web page:

    http://www.xuru.org/rt/PR.asp

That performs polynomial regression given a set of values.

fanxu/redis,sidsen/redis,shanegxxiao/redis,enginekit/redis,liqiang199105/redis,adamweixuan/redis,quangnguyen90/redis,powerumc/MyRedis_old,jqk6/redis,sidsen/redis,ideaar/redis,jqk6/redis,janeasystems/redis,powerumc/MyRedis_old,ideaar/redis,crask/redis-cutter,janeasystems/redis,nandhanurrevanth/redis,damy/redis,nandhanurrevanth/redis,jaambee/redis,adamweixuan/redis,miminus/redis,janeasystems/redis,StartTheShift/redis-shift,erwin00776/redis-2.8-optimize,LittlePeng/redis,jaambee/redis,sidsen/redis,kts12345/redis,adamweixuan/redis,powerumc/MyRedis,jacklee0810/redis,hanmichael/redis,crask/redis-cutter,alpha8/redis,laurencee/redis,ScottKaiGu/redis,erwin00776/redis-2.8-optimize,Cybermaxs/redis,jacklee0810/redis,enginekit/redis,laurencee/redis,enginekit/redis,fanxu/redis,miminus/redis,kolonse/redis,nandhanurrevanth/redis,jacklee0810/redis,erwin00776/redis-2.8-optimize,miminus/redis,miminus/redis,shanegxxiao/redis,kts12345/redis,kts12345/redis,sidsen/redis,alpha8/redis,liqiang199105/redis,liqiang199105/redis,fanxu/redis,adamweixuan/redis,Jonavin/redis,LittlePeng/redis,liqiang199105/redis,kolonse/redis,jaambee/redis,hanmichael/redis,enginekit/redis,jqk6/redis,enginekit/redis,jqk6/redis,kts12345/redis,Jonavin/redis,Jonavin/redis,damy/redis,crask/redis-cutter,laurencee/redis,upsoft/redis,ideaar/redis,ideaar/redis,ideaar/redis,alpha8/redis,ScottKaiGu/redis,kolonse/redis,shanegxxiao/redis,sidsen/redis,shanegxxiao/redis,janeasystems/redis,shanegxxiao/redis,damy/redis,damy/redis,Cybermaxs/redis,miminus/redis,StartTheShift/redis-shift,hanmichael/redis,ScottKaiGu/redis,jacklee0810/redis,quangnguyen90/redis,nandhanurrevanth/redis,StartTheShift/redis-shift,upsoft/redis,ScottKaiGu/redis,Cybermaxs/redis,sidsen/redis,powerumc/MyRedis_old,jacklee0810/redis,laurencee/redis,Jonavin/redis,janeasystems/redis,Cybermaxs/redis,hanmichael/redis,alpha8/redis,alpha8/redis,adamweixuan/redis,erwin00776/redis-2.8-optimize,damy/redis,kolonse/redis,jaambee/redis,laurencee/redis,Cybermaxs/redis,powerumc/MyRedis,upsoft/redis,hanmichael/redis,nandhanurrevanth/redis,quangnguyen90/redis,fanxu/redis,kts12345/redis,upsoft/redis,jaambee/redis,LittlePeng/redis,quangnguyen90/redis,liqiang199105/redis,jqk6/redis,ScottKaiGu/redis,upsoft/redis,quangnguyen90/redis,Jonavin/redis,powerumc/MyRedis_old,kolonse/redis,powerumc/MyRedis