71 DOUBLE PRECISION zero, one
72 parameter( zero = 0.0d+0, one = 1.0d+0 )
74 parameter( czero = ( 0.0d+0, 0.0d+0 ) )
80 INTRINSIC abs, dble, dimag, max, sign
85 zlctes = ( dble( z ).LT.zero )
87 IF( dble( z ).EQ.zero .OR. dble( d ).EQ.zero )
THEN
88 zlctes = ( sign( one, dimag( z ) ).NE.
89 $ sign( one, dimag( d ) ) )
90 ELSE IF( dimag( z ).EQ.zero .OR. dimag( d ).EQ.zero )
THEN
91 zlctes = ( sign( one, dble( z ) ).NE.
92 $ sign( one, dble( d ) ) )
94 zmax = max( abs( dble( z ) ), abs( dimag( z ) ) )
95 zlctes = ( ( dble( z ) / zmax )*dble( d )+
96 $ ( dimag( z ) / zmax )*dimag( d ).LT.zero )
logical function zlctes(z, d)
ZLCTES