presto-orc/src/main/java/io/prestosql/orc/metadata/statistics/BloomFilter.java/BloomFilter/optimalNumOfBits
class BloomFilter:    static int optimalNumOfBits(long n, double p)
    {
        return (int) (-n * Math.log(p) / (Math.log(2) * Math.log(2)));
    }