This is an experimental tool to evaluate the quality of the estimations produced by the HyperLogLog algorithm described in the Flajolet et al. paper, with and without the large range correction (§4 of the paper).
This correction is only enabled for cardinalities beyond 143M, so any input below that will return the same result twice.
go mod tidy
go run main.go -count 3000000000