1 --- plotlib/ps_subs.f.orig 2004-08-21 19:02:44.000000000 +0100
2 +++ plotlib/ps_subs.f 2007-05-03 19:14:28.901490750 +0100
4 c in the iout array (3,1,3,1,3,1,3,1)
5 c Note: the bit mask is shifted to always start counting on a '1' bit.
7 -c--- Uses the library routines and() and rshift() for bit manipulation
8 +c--- Uses the library routines and() and ishft() for bit manipulation
9 c which are present in most fortran libraries as extensions to f77.
13 ibitold = and(1,imask)
14 if(ibitold.NE.0) go to 5
16 - imask = rshift(imask,1)
17 + imask = ishft(imask,-1)
25 - imask = rshift(imask,1)
26 + imask = ishft(imask,-1)
28 c--- Add final bit(s) to end of 16 bits checked
29 c--- Now append any zero bits shifted out originally