presto-rcfile/src/main/java/io/prestosql/rcfile/text/DoubleEncoding.java/DoubleEncoding/parseDouble
class DoubleEncoding:    private static double parseDouble(Slice slice, int start, int length)
            throws RcFileCorruptionException
    {
        try {
            return Double.parseDouble(slice.toStringAscii(start, length));
        }
        catch (NumberFormatException e) {
            throw new RcFileCorruptionException(e, "Invalid double value");
        }
    }