erf(x) computes the error function of x, defined as
Fortran 2008 and later
result = erf(x)
x - The type shall be real.The return value is of type real, of the same kind as x and lies in the range .
program test_erf
real(8) :: x = 0.17_8
x = erf(x)
end program test_erf