DUMACH Type

***PURPOSE Compute the unit roundoff of the machine. ***CATEGORY R1 ***TYPE DOUBLE PRECISION (RUMACH-S, DUMACH-D) ***KEYWORDS MACHINE CONSTANTS ***AUTHOR Hindmarsh, Alan C., (LLNL) ***DESCRIPTION *Usage: DOUBLE PRECISION A, DUMACH A = DUMACH() *Function Return Values: A : the unit roundoff of the machine. *Description: The unit roundoff is defined as the smallest positive machine number u such that 1.0 + u .ne. 1.0. This is computed by DUMACH in a machine-independent manner. ***REFERENCES (NONE) ***ROUTINES CALLED DUMSUM ***REVISION HISTORY (YYYYMMDD) 19930216 DATE WRITTEN 19930818 Added SLATEC-format prologue. (FNF) 20030707 Added DUMSUM to force normal storage of COMP. (ACH) ***END PROLOGUE DUMACH ***FIRST EXECUTABLE STATEMENT DUMACH

Constructors

Constructor Description

DUMACH(dumsum)

Full Usage: DUMACH(dumsum)

Parameters:

dumsum : DUMSUM

DUMACH()

Full Usage: DUMACH()

Instance members

Instance member Description

this.Run

Full Usage: this.Run

Returns: float

***PURPOSE Compute the unit roundoff of the machine. ***CATEGORY R1 ***TYPE DOUBLE PRECISION (RUMACH-S, DUMACH-D) ***KEYWORDS MACHINE CONSTANTS ***AUTHOR Hindmarsh, Alan C., (LLNL) ***DESCRIPTION *Usage: DOUBLE PRECISION A, DUMACH A = DUMACH() *Function Return Values: A : the unit roundoff of the machine. *Description: The unit roundoff is defined as the smallest positive machine number u such that 1.0 + u .ne. 1.0. This is computed by DUMACH in a machine-independent manner. ***REFERENCES (NONE) ***ROUTINES CALLED DUMSUM ***REVISION HISTORY (YYYYMMDD) 19930216 DATE WRITTEN 19930818 Added SLATEC-format prologue. (FNF) 20030707 Added DUMSUM to force normal storage of COMP. (ACH) ***END PROLOGUE DUMACH ***FIRST EXECUTABLE STATEMENT DUMACH

Returns: float