presto-orc/src/main/java/io/prestosql/orc/metadata/statistics/StatisticsHasher.java/StatisticsHasher/putOptionalDouble
class StatisticsHasher:    public StatisticsHasher putOptionalDouble(boolean present, double value)
    {
        hasher.putBoolean(present);
        hasher.putDouble(present ? value : 0);
        return this;
    }