55 REAL FUNCTION snrm2(N,X,INCX)
73 parameter(one=1.0e+0,zero=0.0e+0)
76 REAL ABSXI,NORM,SCALE,SSQ
82 IF (n.LT.1 .OR. incx.LT.1)
THEN
93 DO 10 ix = 1,1 + (n-1)*incx,incx
94 IF (x(ix).NE.zero)
THEN
96 IF (scale.LT.absxi)
THEN
97 ssq = one + ssq* (scale/absxi)**2
100 ssq = ssq + (absxi/scale)**2
104 norm = scale*sqrt(ssq)
real function snrm2(N, X, INCX)
SNRM2