116 SUBROUTINE zlaesy( A, B, C, RT1, RT2, EVSCAL, CS1, SN1 )
124 COMPLEX*16 a, b, c, cs1, evscal, rt1, rt2, sn1
130 DOUBLE PRECISION zero
131 parameter( zero = 0.0d0 )
133 parameter( one = 1.0d0 )
135 parameter( cone = ( 1.0d0, 0.0d0 ) )
136 DOUBLE PRECISION half
137 parameter( half = 0.5d0 )
138 DOUBLE PRECISION thresh
139 parameter( thresh = 0.1d0 )
142 DOUBLE PRECISION babs, evnorm, tabs, z
146 INTRINSIC abs, max, sqrt
154 IF( abs( b ).EQ.zero )
THEN
157 IF( abs( rt1 ).LT.abs( rt2 ) )
THEN
181 z = max( babs, tabs )
183 $ t = z*sqrt( ( t / z )**2+( b / z )**2 )
190 IF( abs( rt1 ).LT.abs( rt2 ) )
THEN
203 IF( tabs.GT.one )
THEN
204 t = tabs*sqrt( ( one / tabs )**2+( sn1 / tabs )**2 )
206 t = sqrt( cone+sn1*sn1 )
209 IF( evnorm.GE.thresh )
THEN