100 SUBROUTINE srotm(N,SX,INCX,SY,INCY,SPARAM)
111 REAL sparam(5),sx(*),sy(*)
117 REAL sflag,sh11,sh12,sh21,sh22,two,w,z,zero
118 INTEGER i,kx,ky,nsteps
121 DATA zero,two/0.e0,2.e0/
125 IF (n.LE.0 .OR. (sflag+two.EQ.zero)) return
126 IF (incx.EQ.incy.AND.incx.GT.0)
THEN
129 IF (sflag.LT.zero)
THEN
137 sx(i) = w*sh11 + z*sh12
138 sy(i) = w*sh21 + z*sh22
140 ELSE IF (sflag.EQ.zero)
THEN
162 IF (incx.LT.0) kx = 1 + (1-n)*incx
163 IF (incy.LT.0) ky = 1 + (1-n)*incy
165 IF (sflag.LT.zero)
THEN
173 sx(kx) = w*sh11 + z*sh12
174 sy(ky) = w*sh21 + z*sh22
178 ELSE IF (sflag.EQ.zero)
THEN