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