LAPACK 3.12.0
LAPACK: Linear Algebra PACKage
Loading...
Searching...
No Matches

◆ itest1()

subroutine itest1 ( integer  icomp,
integer  itrue 
)

Definition at line 1044 of file sblat1.f.

1045* ********************************* ITEST1 *************************
1046*
1047* THIS SUBROUTINE COMPARES THE VARIABLES ICOMP AND ITRUE FOR
1048* EQUALITY.
1049* C. L. LAWSON, JPL, 1974 DEC 10
1050*
1051* .. Parameters ..
1052 INTEGER NOUT
1053 parameter(nout=6)
1054* .. Scalar Arguments ..
1055 INTEGER ICOMP, ITRUE
1056* .. Scalars in Common ..
1057 INTEGER ICASE, INCX, INCY, N
1058 LOGICAL PASS
1059* .. Local Scalars ..
1060 INTEGER ID
1061* .. Common blocks ..
1062 COMMON /combla/icase, n, incx, incy, pass
1063* .. Executable Statements ..
1064*
1065 IF (icomp.EQ.itrue) GO TO 40
1066*
1067* HERE ICOMP IS NOT EQUAL TO ITRUE.
1068*
1069 IF ( .NOT. pass) GO TO 20
1070* PRINT FAIL MESSAGE AND HEADER.
1071 pass = .false.
1072 WRITE (nout,99999)
1073 WRITE (nout,99998)
1074 20 id = icomp - itrue
1075 WRITE (nout,99997) icase, n, incx, incy, icomp, itrue, id
1076 40 CONTINUE
1077 RETURN
1078*
107999999 FORMAT (' FAIL')
108099998 FORMAT (/' CASE N INCX INCY ',
1081 + ' COMP TRUE DIFFERENCE',
1082 + /1x)
108399997 FORMAT (1x,i4,i3,2i5,2i36,i12)
1084*
1085* End of ITEST1
1086*