1 subroutine interv ( xt, lxt, x, left, mflag )
50 integer left,lxt,mflag, ihi,ilo,istep,middle
51 double precision x,xt(lxt)
55 if (ihi .lt. lxt)
go to 20
56 if (x .ge. xt(lxt))
go to 110
57 if (lxt .le. 1)
go to 90
61 20
if (x .ge. xt(ihi))
go to 40
62 if (x .ge. xt(ilo))
go to 100
68 if (ilo .le. 1)
go to 35
69 if (x .ge. xt(ilo))
go to 50
73 if (x .lt. xt(1))
go to 90
79 if (ihi .ge. lxt)
go to 45
80 if (x .lt. xt(ihi))
go to 50
83 45
if (x .ge. xt(lxt))
go to 110
87 50 middle = (ilo + ihi)/2
88 if (middle .eq. ilo)
go to 100
90 if (x .lt. xt(middle))
go to 53
103 if (x .eq. xt(lxt)) mflag = 0
105 111
if (left .eq. 1)
return 107 if (xt(left) .lt. xt(lxt))
return subroutine interv(xt, lxt, x, left, mflag)