mach_routines Module

Fortran machine constants.

Reference

  • P. A. Fox, A. D. Hall and N. L. Schryer, Framework for a portable library, ACM Transactions on Mathematical Software 4, 2 (June 1978), pp. 177-188.

Author

  • Jacob Williams, June 2022


Contents


Functions

public pure function d1mach(i)

Return floating point (double precision) machine dependent constants.

Read more…

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: i

Return Value real(kind=dp)

public pure function i1mach(i)

Return integer machine dependent constants.

Read more…

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: i

Return Value integer

public pure function r1mach(i)

Return floating point (single precision) machine dependent constants.

Read more…

Arguments

TypeIntentOptionalAttributesName
integer, intent(in) :: i

Return Value real(kind=sp)