Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 10/31/2024
Public
Document Table of Contents

?lamc2

Used by ?lamch. Determines machine parameters specified in its arguments list.

Syntax

call slamc2( beta, t, rnd, eps, emin, rmin, emax, rmax )

call dlamc2( beta, t, rnd, eps, emin, rmin, emax, rmax )

Include Files

  • mkl.fi

Description

The routine ?lamc2 determines machine parameters specified in its arguments list.

Output Parameters

beta

INTEGER. The base of the machine.

t

INTEGER. The number of (beta) digits in the mantissa.

rnd

LOGICAL.

Specifies whether proper rounding (rnd = .TRUE.) or chopping (rnd = .FALSE.) occurs in addition. This may not be a reliable guide to the way in which the machine performs its arithmetic.

eps

REAL for slamc2

DOUBLE PRECISION for dlamc2

The smallest positive number such that

fl(1.0 - eps) < 1.0,

where fl denotes the computed value.

emin

INTEGER. The minimum exponent before (gradual) underflow occurs.

rmin

REAL for slamc2

DOUBLE PRECISION for dlamc2

The smallest normalized number for the machine, given by

baseemin-1,

where base is the floating point value of beta.

emax

INTEGER.The maximum exponent before overflow occurs.

rmax

REAL for slamc2

DOUBLE PRECISION for dlamc2

The largest positive number for the machine, given by baseemax(1 - eps), where base is the floating point value of beta.