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