machar_test, a FORTRAN90 code which calls machar(), which dynamically computes constants that characterize the floating point arithmetic system on a computer, by William Cody.
The computer code and data files described and made available on this web page are distributed under the MIT license
machar, a FORTRAN90 code which computes the appropriate values of machine constants for a given machine, by William Cody.