897 DOUBLE PRECISION zero
898 parameter (nout=6, zero=0.0d0)
900 DOUBLE PRECISION sfac
903 DOUBLE PRECISION scomp(len), ssize(len), strue(len)
905 INTEGER icase, incx, incy, n
911 DOUBLE PRECISION sdiff
916 COMMON /combla/icase, n, incx, incy, pass
920 sd = scomp(i) - strue(i)
921 IF (abs(sfac*sd) .LE. abs(ssize(i))*epsilon(zero))
926 IF ( .NOT. pass)
GO TO 20
931 20
WRITE (nout,99997) icase, n, incx, incy, i, scomp(i),
932 + strue(i), sd, ssize(i)
936 99999
FORMAT (
' FAIL')
937 99998
FORMAT (/
' CASE N INCX INCY I ',
938 +
' COMP(I) TRUE(I) DIFFERENCE',
940 99997
FORMAT (1x,i4,i3,2i5,i3,2d36.8,2d12.4)
real function sdiff(SA, SB)