574 DOUBLE PRECISION zero
575 parameter (nout=6, zero=0.0d0)
577 DOUBLE PRECISION sfac
580 DOUBLE PRECISION scomp(len), ssize(len), strue(len)
582 INTEGER icase, incx, incy, mode, n
588 DOUBLE PRECISION sdiff
593 COMMON /combla/icase, n, incx, incy, mode, pass
597 sd = scomp(i) - strue(i)
598 IF (abs(sfac*sd) .LE. abs(ssize(i))*epsilon(zero))
603 IF ( .NOT. pass)
GO TO 20
608 20
WRITE (nout,99997) icase, n, incx, incy, mode, i, scomp(i),
609 + strue(i), sd, ssize(i)
613 99999
FORMAT (
' FAIL')
614 99998
FORMAT (/
' CASE N INCX INCY MODE I ',
615 +
' COMP(I) TRUE(I) DIFFERENCE',
617 99997
FORMAT (1x,i4,i3,3i5,i3,2d36.8,2d12.4)
real function sdiff(SA, SB)