]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MINICERN/packlib/kernlib/kerngen/tcgenc/locf.F
This commit was generated by cvs2svn to compensate for changes in r2,
[u/mrichter/AliRoot.git] / MINICERN / packlib / kernlib / kerngen / tcgenc / locf.F
1 *
2 * $Id$
3 *
4 * $Log$
5 * Revision 1.1.1.1  1996/02/15 17:50:37  mclareni
6 * Kernlib
7 *
8 *
9 #include "kerngen/pilot.h"
10 #if defined(CERNLIB_QMMPW)
11 #include "mpwgs/locf.F"
12 #elif defined(CERNLIB_QMSUN)
13 #include "sungs/locf.F"
14 #elif defined(CERNLIB_QMVAX)
15 #include "vaxgs/locf.F"
16 #else
17       FUNCTION LOCF (IVAR)
18 C
19 C CERN PROGLIB# N100    LOCF            .VERSION KERNFOR  4.34  930114
20 C
21 C-    This is a default which works on several machines
22 C
23       DIMENSION    IVAR(9)
24 *    Number of ADdress Units Per Word for Fortran
25 C                         and its logarithm base 2
26       PARAMETER    (NADUPW=4, LADUPW=2)
27
28       J = LOC(IVAR)
29       LOCF = ISHFT (J, -LADUPW)
30       END
31 #endif