/usr/include/zebra/q_sbit.inc is in libpacklib1-dev 20061220+dfsg3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | *
* $Id: q_sbit.inc,v 1.3 2006/09/15 09:35:34 mclareni Exp $
*
* $Log: q_sbit.inc,v $
* Revision 1.3 2006/09/15 09:35:34 mclareni
* Submitted mods for gcc4/gfortran and MacOSX, corrected to work also on slc4 with gcc3.4 and 4.1
*
* Revision 1.2 1996/04/18 16:15:23 mclareni
* Incorporate changes from J.Zoll for version 3.77
*
* Revision 1.1.1.1 1996/03/06 10:46:52 mclareni
* Zebra
*
*
#ifndef CERNLIB_ZEBRA_Q_SBIT_INC
#define CERNLIB_ZEBRA_Q_SBIT_INC
*
*
* q_sbit.inc
*
#if defined(CERNLIB_APOLLO)
MSBIT (MZ,IZW,IZP) = OR (AND (IZW, NOT(LSHFT(1,IZP-1)) )
+ , LSHFT(AND(MZ,1),IZP-1) )
#elif defined(CERNLIB_CDC)
MSBIT (MZ,IZW,IZP) =(IZW .AND. .NOT.SHIFT(MASK(1),IZP))
+ .OR. SHIFT(MZ .AND. .NOT.MASK(59),IZP-1)
#elif defined(CERNLIB_CRAY)
MSBIT (MZ,IZW,IZP) = (IZW .AND. SHIFT(MASK(65),IZP))
+ .OR. SHIFT(MZ.AND.MASK(127),IZP-1)
#elif (defined(CERNLIB_CONVEX))&&(!defined(CERNLIB_DOUBLE))
#elif (defined(CERNLIB_CONVEX))&&(defined(CERNLIB_DOUBLE))
#elif defined(CERNLIB_MSDOS)
#if defined(CERNLIB_QF_NDP)
MSBIT (MZZ,IZZW,IZZP) = IOR (IAND (IZZW, NOT(ISHFT(1,IZZP-1)) )
+ , ISHFT(IAND(MZZ,1),IZZP-1))
#elif defined(CERNLIB_QF_F2C)
MSBIT (MZ,IZW,IZP) = OR (AND (IZW, NOT(LSHIFT(1,IZP-1)) )
+ , LSHIFT(AND(MZ,1),IZP-1))
#endif
#elif defined(CERNLIB_QF_SIEM)
MSBIT (MZ,IZW,IZP) = LOR (LAND (IZW, LCOMPL(SHFTL(1,IZP-1)) )
+ , SHFTL(LAND(MZ,1),IZP-1) )
#elif defined(CERNLIB_LINUX) && !defined(CERNLIB_GFORTRAN)
MSBIT (MZ,IZW,IZP) = OR (AND (IZW, NOT(LSHIFT(1,IZP-1)))
+ ,LSHIFT(AND(MZ,1),IZP-1))
#elif defined(CERNLIB_PDP)
MSBIT (MZ,IZW,IZP) = IOR (IAND (IZW, NOT(ISHFT(1,IZP-1)) )
+ , ISHFT (IAND(MZ,1),IZP-1) )
#elif defined(CERNLIB_SUN)
MSBIT (MZ,IZW,IZP) = OR (AND (IZW, NOT(LSHIFT(1,IZP-1)) )
+ , LSHIFT(AND(MZ,1),IZP-1) )
#elif defined(CERNLIB_VAXVMS)
#elif defined(CERNLIB_QMVDS)
MSBIT (MZ,IZW,IZP) = OR (AND (IZW, NOT(LSHFT(1,IZP-1)) )
+ , LSHFT(AND(MZ,1),IZP-1) )
#elif 1
MSBIT (MZ,IZW,IZP) = IOR (IAND (IZW, NOT(ISHFT(1,IZP-1)) )
+ , ISHFT(IAND(MZ,1),IZP-1))
#endif
#endif
|