117 SUBROUTINE spoequb( N, A, LDA, S, SCOND, AMAX, INFO )
128 REAL A( LDA, * ), S( * )
135 parameter( zero = 0.0e+0, one = 1.0e+0 )
149 INTRINSIC max, min, sqrt, log, int
160 ELSE IF( lda.LT.max( 1, n ) )
THEN
164 CALL xerbla(
'SPOEQUB', -info )
177 tmp = -0.5 / log( base )
186 smin = min( smin, s( i ) )
187 amax = max( amax, s( i ) )
190 IF( smin.LE.zero )
THEN
195 IF( s( i ).LE.zero )
THEN
206 s( i ) = base ** int( tmp * log( s( i ) ) )
211 scond = sqrt( smin ) / sqrt( amax )
subroutine xerbla(srname, info)
subroutine spoequb(n, a, lda, s, scond, amax, info)
SPOEQUB