

CMACH (local input) const HPL_T_MACH  
Specifies the value to be returned by HPL_dlamch
= HPL_MACH_EPS, HPL_dlamch := eps (default) = HPL_MACH_SFMIN, HPL_dlamch := sfmin = HPL_MACH_BASE, HPL_dlamch := base = HPL_MACH_PREC, HPL_dlamch := eps*base = HPL_MACH_MLEN, HPL_dlamch := t = HPL_MACH_RND, HPL_dlamch := rnd = HPL_MACH_EMIN, HPL_dlamch := emin = HPL_MACH_RMIN, HPL_dlamch := rmin = HPL_MACH_EMAX, HPL_dlamch := emax = HPL_MACH_RMAX, HPL_dlamch := rmax where
eps = relative machine precision,
 
#include "hpl.h"int main(int argc, char *argv[])
{
double eps;
eps = HPL_dlamch( HPL_MACH_EPS );
printf("eps=%18.8e\n", eps);
exit(0); return(0);
}
This function has been manually translated from the Fortran 77 LAPACK auxiliary function dlamch.f (version 2.0  1992), that was itself based on the function ENVRON by Malcolm and incorporated suggestions by Gentleman and Marovich. SeeMalcolm M. A., Algorithms to reveal properties of floatingpoint arithmetic., Comms. of the ACM, 15, 949951 (1972).
Gentleman W. M. and Marovich S. B., More on algorithms that reveal properties of floating point arithmetic units., Comms. of the ACM, 17, 276277 (1974).
HPL 2.1  HPL_DLAMCH (3)  October 26, 2012 
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.