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 information on this web page is distributed under the MIT license.
machar, a Fortran90 code which computes the appropriate values of machine constants for a given machine, by William Cody.