]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MICROCERN/kerngen/q_shift.inc
Merging the VirtualMC branch to the main development branch (HEAD)
[u/mrichter/AliRoot.git] / MICROCERN / kerngen / q_shift.inc
CommitLineData
fe4da5cc 1*
2* $Id$
3*
4* $Log$
b9d0a01d 5* Revision 1.1.2.1 2002/07/11 17:14:49 alibrary
6* Adding MICROCERN
7*
8* Revision 1.1.1.1 1999/05/18 15:55:29 fca
9* AliRoot sources
10*
fe4da5cc 11* Revision 1.2 1996/03/05 17:04:19 cernlib
12* Replace #else by elif 1 ( for SGI cpp )
13*
14* Revision 1.1.1.1 1996/02/15 17:49:19 mclareni
15* Kernlib
16*
17*
18*
19* q_shift.inc
20*
21#if defined(CERNLIB_QMSUN)&&defined(CERNLIB_BUGLRSHFT)
22 ISHFTL (IZW,NZB) = LSHIFT (IZW, NZB)
23 ISHFTR (IZW,NZB) = ishft (IZW, -NZB)
24#elif defined(CERNLIB_QMSUN)&&(!defined(CERNLIB_BUGLRSHFT))
25 ISHFTL (IZW,NZB) = LSHIFT (IZW, NZB)
26 ISHFTR (IZW,NZB) = lrshft (IZW, NZB)
27#elif defined(CERNLIB_QMDOS)&&defined(CERNLIB_QF_F2C)
28C--
29C-- Note: F2C-ish RSHIFT is arithmetic right shift.
30C-- This means sign bits are shifted in at the high end
31C
32 ISHFTL(IZW,NZB) = LSHIFT(IZW,NZB)
33C ISHFTR(IZW,NZB) = RSHIFT(IZW,NZB)
34C ISHFT(IZW,NZB) = LSHIFT(IZW,NZB)
35#elif defined(CERNLIB_QMLNX)
36 ISHFTL (IZW,NZB) = LSHIFT (IZW,NZB)
37#elif 1
38 ISHFTL (IZW,NZB) = ISHFT (IZW, NZB)
39 ISHFTR (IZW,NZB) = ISHFT (IZW, -NZB)
40#endif