Modern Fortran Machine Constants Module (r1mach
, d1mach
, i1mach
).
A Fortran Package Manager manifest file is included, so that the library and test cases can be compiled with FPM. For example:
fpm build --profile release
fpm test --profile release
To use fortran-mach
within your fpm project, add the following to your fpm.toml
file:
[dependencies]
fortran-mach = { git="https://github.com/jacobwilliams/fortran-mach.git" }
Or, to use a specific version:
[dependencies]
fortran-mach = { git="https://github.com/jacobwilliams/fortran-mach.git", tag = "0.1.0" }
The latest API documentation can be found here. This was generated from the source code using FORD.
- J. Williams, D1MACH Re-Revisited, June 19, 2022
- Bo Einarsson, d1mach revisited: no more uncommenting DATA statements Presented at the IFIP WG 2.5 International Workshop on "Current Directions in Numerical Software and High Performance Computing", 19 - 20 October 1995, Kyoto, Japan.