presto-spi/src/main/java/io/prestosql/spi/type/DoubleType.java/DoubleType/writeDouble
class DoubleType:    @Override
    public void writeDouble(BlockBuilder blockBuilder, double value)
    {
        blockBuilder.writeLong(doubleToLongBits(value)).closeEntry();
    }