113 SUBROUTINE dpoequb( N, A, LDA, S, SCOND, AMAX, INFO )
122 DOUBLE PRECISION amax, scond
125 DOUBLE PRECISION a( lda, * ), s( * )
131 DOUBLE PRECISION zero, one
132 parameter( zero = 0.0d+0, one = 1.0d+0 )
136 DOUBLE PRECISION smin, base, tmp
146 INTRINSIC max, min, sqrt, log, int
157 ELSE IF( lda.LT.max( 1, n ) )
THEN
161 CALL
xerbla(
'DPOEQUB', -info )
174 tmp = -0.5d+0 / log( base )
183 smin = min( smin, s( i ) )
184 amax = max( amax, s( i ) )
187 IF( smin.LE.zero )
THEN
192 IF( s( i ).LE.zero )
THEN
203 s( i ) = base ** int( tmp * log( s( i ) ) )
208 scond = sqrt( smin ) / sqrt( amax )