68 DOUBLE PRECISION FUNCTION dlamch( CMACH )
81 DOUBLE PRECISION one, zero
82 parameter( one = 1.0d+0, zero = 0.0d+0 )
85 DOUBLE PRECISION rnd, eps, sfmin, small, rmach
92 INTRINSIC digits, epsilon, huge, maxexponent,
93 $ minexponent, radix, tiny
102 IF( one.EQ.rnd )
THEN
103 eps = epsilon(zero) * 0.5
108 IF(
lsame( cmach,
'E' ) )
THEN
110 ELSE IF(
lsame( cmach,
'S' ) )
THEN
112 small = one / huge(zero)
113 IF( small.GE.sfmin )
THEN
118 sfmin = small*( one+eps )
121 ELSE IF(
lsame( cmach,
'B' ) )
THEN
123 ELSE IF(
lsame( cmach,
'P' ) )
THEN
124 rmach = eps * radix(zero)
125 ELSE IF(
lsame( cmach,
'N' ) )
THEN
127 ELSE IF(
lsame( cmach,
'R' ) )
THEN
129 ELSE IF(
lsame( cmach,
'M' ) )
THEN
130 rmach = minexponent(zero)
131 ELSE IF(
lsame( cmach,
'U' ) )
THEN
133 ELSE IF(
lsame( cmach,
'L' ) )
THEN
134 rmach = maxexponent(zero)
135 ELSE IF(
lsame( cmach,
'O' ) )
THEN
177 DOUBLE PRECISION a, b
double precision function dlamc3(a, b)
DLAMC3
double precision function dlamch(cmach)
DLAMCH
logical function lsame(ca, cb)
LSAME