114 SUBROUTINE zpoequb( N, A, LDA, S, SCOND, AMAX, INFO )
123 DOUBLE PRECISION amax, scond
126 COMPLEX*16 a( lda, * )
127 DOUBLE PRECISION s( * )
133 DOUBLE PRECISION zero, one
134 parameter( zero = 0.0d+0, one = 1.0d+0 )
138 DOUBLE PRECISION smin, base, tmp
148 INTRINSIC max, min, sqrt, log, int,
REAL, dimag
159 ELSE IF( lda.LT.max( 1, n ) )
THEN
163 CALL
xerbla(
'ZPOEQUB', -info )
176 tmp = -0.5d+0 / log( base )
185 smin = min( smin, s( i ) )
186 amax = max( amax, s( i ) )
189 IF( smin.LE.zero )
THEN
194 IF( s( i ).LE.zero )
THEN
205 s( i ) = base ** int( tmp * log( s( i ) ) )
210 scond = sqrt( smin ) / sqrt( amax )