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

◆ itest1()

subroutine itest1 ( integer  icomp,
integer  itrue 
)

Definition at line 1093 of file dblat1.f.

1094* ********************************* ITEST1 *************************
1095*
1096* THIS SUBROUTINE COMPARES THE VARIABLES ICOMP AND ITRUE FOR
1097* EQUALITY.
1098* C. L. LAWSON, JPL, 1974 DEC 10
1099*
1100* .. Parameters ..
1101 INTEGER NOUT
1102 parameter(nout=6)
1103* .. Scalar Arguments ..
1104 INTEGER ICOMP, ITRUE
1105* .. Scalars in Common ..
1106 INTEGER ICASE, INCX, INCY, N
1107 LOGICAL PASS
1108* .. Local Scalars ..
1109 INTEGER ID
1110* .. Common blocks ..
1111 COMMON /combla/icase, n, incx, incy, pass
1112* .. Executable Statements ..
1113*
1114 IF (icomp.EQ.itrue) GO TO 40
1115*
1116* HERE ICOMP IS NOT EQUAL TO ITRUE.
1117*
1118 IF ( .NOT. pass) GO TO 20
1119* PRINT FAIL MESSAGE AND HEADER.
1120 pass = .false.
1121 WRITE (nout,99999)
1122 WRITE (nout,99998)
1123 20 id = icomp - itrue
1124 WRITE (nout,99997) icase, n, incx, incy, icomp, itrue, id
1125 40 CONTINUE
1126 RETURN
1127*
112899999 FORMAT (' FAIL')
112999998 FORMAT (/' CASE N INCX INCY ',
1130 + ' COMP TRUE DIFFERENCE',
1131 + /1x)
113299997 FORMAT (1x,i4,i3,2i5,2i36,i12)
1133*
1134* End of ITEST1
1135*