======================================================================================================

Readme.txt by Thomas Hoering                                                          January 31, 2025

======================================================================================================

                                  Error Functions
                  Approximations and Implementations with modern FORTRAN
                              Volume I: erf, erfc, erfcx

                             Version 1.0 (January 31, 2025)

======================================================================================================

To compile and link the *.f95 files, use the *.bat files, it is necessary to
have GNU Fortran and/or Silverfrost FTN95 correctly installed.

======================================================================================================

files:

  1. Batch and *.exe files (*.exe files to be generated by the user)
      0100-tst-ErrorFunctionsGF.bat         GNU Fortran: compile & link batch
      0100-tst-ErrorFunctionsGF.f95         GNU Fortran: use specific GNU Fortran
     <0100-tst-ErrorFunctionsGF.exe>        GNU Fortran: exe test from *GF.bat
      0100-tst-ErrorFunctionsSF.bat         Silverfrost FTN95: compile & link batch, v9.1 or earlier
      0100-tst-ErrorFunctionsSF.f95         Silverfrost FTN95: use specific FTN95
     <0100-tst-ErrorFunctionsSF.exe>        Silverfrost FTN95: exe test from *SF.bat
      0101-tst-ErrorFunctions.f95           Test program for GNU Fortran or FTN95

  2. definition and menu files
      0201-def-Kinds-GFortran.f95           kind definition GNU Fortran
      0201-def-Kinds-Silverfrost.f95        kind definition Silverfrost FTN95
      0202-def-Constants.f95                definition constants and limits
      0203-def-Modules.f95                  definition of modules
      0204-def-Erf-Tables.f95               definition of error function tables
      0205-def-Menu.f95                     definition of screen menu (in-/output)

  3. Volume 1: error function y = erf(x)
      2100-Erf-High.f95                     high precision algorithm
      2200-Erf-Low.f95                      low  precision algorithm
      2300-Erf-SE.f95                       series expansion
      2400-Erf-CF.f95                       continued fraction

  4. Volume 1: complementary error function y = erfc(x)
      3100-Erfc-High.f95                    high precision algorithm
      3300-Erfc-SE.f95                      series expansion
      3400-Erfc-CF.f95                      continued fraction

  5. Volume 1: scaled complementary error function y = erfcx(x)
      4100-Erfcx-High.f95                   high precision algorithm
      4100-Erfcx-High-include.f95           required local include
      4200-Erfcx-Low.f95                    low  precision algorithm
      4300-Erfcx-SE.f95                     series expansion
      4400-Erfcx-CF.f95                     continued fraction

======================================================================================================

To generate the two "*.exe" files under
  1. GNU Fortran,                        start "0100-tst-ErrorFunctionsGF.bat"
  2. Silverfrost FTN95 v9.1 or earlier,  start "0100-tst-ErrorFunctionsSF.bat"

======================================================================================================

Copyright

Many references in the book have copyrights, certain permissions
and/or special obligations for the use of the literature and/or
software. These copyrights, permissions and/or obligations must
be fulfilled or observed by each user of the book and/or the
software.
Insofar as this is known to the author, this is indicated in each
individual case. For further details on major individual components,
see also the appendix of the book. In addition, the author's
software is printed in the book or available as source code files.
The following applies for the software of the author:

Copyright © 2025 Thomas Höring, Pinneberg, Germany

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

======================================================================================================

For support/error reporting and/or questions, mail to hoeringt@aol.com .
It cannot be guaranteed that I will be available immediately or be available at all.

======================================================================================================
