presto-rcfile/src/main/java/io/prestosql/rcfile/binary/DoubleEncoding.java/DoubleEncoding/encodeValueInto
class DoubleEncoding:    @Override
    public void encodeValueInto(Block block, int position, SliceOutput output)
    {
        output.writeLong(Long.reverseBytes(Double.doubleToLongBits(type.getDouble(block, position))));
    }