112 SUBROUTINE zlat2c( UPLO, N, A, LDA, SA, LDSA, INFO )
121 INTEGER info, lda, ldsa, n
124 COMPLEX sa( ldsa, * )
125 COMPLEX*16 a( lda, * )
132 DOUBLE PRECISION rmax
136 INTRINSIC dble, dimag
146 upper =
lsame( uplo,
'U' )
150 IF( ( dble( a( i, j ) ).LT.-rmax ) .OR.
151 $ ( dble( a( i, j ) ).GT.rmax ) .OR.
152 $ ( dimag( a( i, j ) ).LT.-rmax ) .OR.
153 $ ( dimag( a( i, j ) ).GT.rmax ) )
THEN
157 sa( i, j ) = a( i, j )
163 IF( ( dble( a( i, j ) ).LT.-rmax ) .OR.
164 $ ( dble( a( i, j ) ).GT.rmax ) .OR.
165 $ ( dimag( a( i, j ) ).LT.-rmax ) .OR.
166 $ ( dimag( a( i, j ) ).GT.rmax ) )
THEN
170 sa( i, j ) = a( i, j )