Click or drag to resize

DLAMC5Run Method

Purpose ======= DLAMC5 attempts to compute RMAX, the largest machine floating-point number, without overflow. It assumes that EMAX + abs(EMIN) sum approximately to a power of 2. It will fail on machines where this assumption does not hold, for example, the Cyber 205 (EMIN = -28625, EMAX = 28718). It will also fail if the value supplied for EMIN is too large (i.e. too close to zero), probably with overflow.

Namespace: DotNumerics.LinearAlgebra.CSLapack
Assembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void Run(
	int BETA,
	int P,
	int EMIN,
	bool IEEE,
	ref int EMAX,
	ref double RMAX
)
Request Example View Source

Parameters

BETA  Int32
(input) INTEGER The base of floating-point arithmetic.
P  Int32
(input) INTEGER The number of base BETA digits in the mantissa of a floating-point value.
EMIN  Int32
(input) INTEGER The minimum exponent before (gradual) underflow.
IEEE  Boolean
(input) LOGICAL A logical flag specifying whether or not the arithmetic system is thought to comply with the IEEE standard.
EMAX  Int32
(output) INTEGER The largest exponent before overflow
RMAX  Double
(output) DOUBLE PRECISION The largest machine floating-point number.
See Also