114 SUBROUTINE cpoequb( N, A, LDA, S, SCOND, AMAX, INFO )
134 parameter( zero = 0.0e+0, one = 1.0e+0 )
148 INTRINSIC max, min, sqrt, log, int
159 ELSE IF( lda.LT.max( 1, n ) )
THEN
163 CALL
xerbla(
'CPOEQUB', -info )
176 tmp = -0.5 / 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 )