A Fortran implementation of the Fortran 202X split
intrinsic subroutine.
Candidate for inclusion in fortran-lang/stdlib.
split
is defined in Section 16.1.194 of
20-007 with corrections in
20-139.
Tested with:
- gfortran 8.3.0, 9.2.0
- ifort 2021.1 beta
- xlf 16.1.1
git clone https://github.com/milancurcic/fortran202x_split
cd fortran202x_split
You can get fpm here.
fpm build
fpm test
Run the benchmark program:
fpm run
gfortran src/fortran202x_split.f90 test/main.f90 -o test_split
./test_split
Run the benchmark program:
gfortran src/fortran202x_split.f90 app/main.f90 -o bench
./bench