115 SUBROUTINE spoequb( N, A, LDA, S, SCOND, AMAX, INFO )
126 REAL A( LDA, * ), S( * )
133 parameter( zero = 0.0e+0, one = 1.0e+0 )
147 INTRINSIC max, min, sqrt, log, int
158 ELSE IF( lda.LT.max( 1, n ) )
THEN
162 CALL xerbla(
'SPOEQUB', -info )
175 tmp = -0.5 / log( base )
184 smin = min( smin, s( i ) )
185 amax = max( amax, s( i ) )
188 IF( smin.LE.zero )
THEN
193 IF( s( i ).LE.zero )
THEN
204 s( i ) = base ** int( tmp * log( s( i ) ) )
209 scond = sqrt( smin ) / sqrt( amax )
subroutine spoequb(n, a, lda, s, scond, amax, info)
SPOEQUB