====================================================================
dlamc5 examples
====================================================================

====================================================================
Man Page Details
====================================================================

  -- LAPACK auxiliary routine (version 1.1) -- 
     Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd., 
     Courant Institute, Argonne National Lab, and Rice University 
     October 31, 1992 

     .. Scalar Arguments .. 
<       LOGICAL            IEEE >
<       INTEGER            BETA, EMAX, EMIN, P >
<       DOUBLE PRECISION   RMAX >
     .. 

  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. 

  Arguments 
  ========= 

  BETA    (input) INTEGER 
          The base of floating-point arithmetic. 

  P       (input) INTEGER 
          The number of base BETA digits in the mantissa of a 
          floating-point value. 

  EMIN    (input) INTEGER 
          The minimum exponent before (gradual) underflow. 

  IEEE    (input) LOGICAL 
          A logical flag specifying whether or not the arithmetic 
          system is thought to comply with the IEEE standard. 

  EMAX    (output) INTEGER 
          The largest exponent before overflow 

  RMAX    (output) DOUBLE PRECISION 
          The largest machine floating-point number. 

