]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MINICERN/packlib/kernlib/kerngen/tcgens/sungs/jrsbyt.F
Bugfix in AliPoints2Memory
[u/mrichter/AliRoot.git] / MINICERN / packlib / kernlib / kerngen / tcgens / sungs / jrsbyt.F
1 *
2 * $Id$
3 *
4 * $Log$
5 * Revision 1.1.1.1  1996/02/15 17:50:20  mclareni
6 * Kernlib
7 *
8 *
9       FUNCTION JRSBYT (IT,IZW,IZP,NZB)
10 C
11 C CERN PROGLIB# M421    JRSBYT          .VERSION KERNSUN  1.06  920511
12 C ORIG. 22/09/88, JZ
13 C
14
15 #if defined(CERNLIB_BUGLRSHFT)
16       MASK   = LSHIFT (ishft(-1,-32+NZB), IZP-1)
17       JRSBYT = ishft (AND(MASK,IZW), 1-IZP)
18 #endif
19 #if !defined(CERNLIB_BUGLRSHFT)
20       MASK   = LSHIFT (lrshft(-1,32-NZB), IZP-1)
21       JRSBYT = lrshft (AND(MASK,IZW), IZP-1)
22 #endif
23       IZW    = OR (AND(NOT(MASK),IZW), AND(MASK,LSHIFT(IT,IZP-1)))
24       RETURN
25       END