summaryrefslogtreecommitdiff
path: root/Build/source/utils/pmx/pmx-src/libf2c/qbitshft.c
blob: 78e7b95100d670cf37f719fb94481f57ddc8ad99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "f2c.h"
#ifdef __cplusplus
extern "C" {
#endif

 longint
#ifdef KR_headers
qbit_shift(a, b) longint a; integer b;
#else
qbit_shift(longint a, integer b)
#endif
{
	return b >= 0 ? a << b : (longint)((ulongint)a >> -b);
	}
#ifdef __cplusplus
}
#endif