116 SUBROUTINE claesy( A, B, C, RT1, RT2, EVSCAL, CS1, SN1 )
124 COMPLEX a, b, c, cs1, evscal, rt1, rt2, sn1
131 parameter( zero = 0.0e0 )
133 parameter( one = 1.0e0 )
135 parameter( cone = ( 1.0e0, 0.0e0 ) )
137 parameter( half = 0.5e0 )
139 parameter( thresh = 0.1e0 )
142 REAL 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