| 1 |
#include "f2c.h" |
| 2 |
#ifdef __cplusplus |
| 3 |
extern "C" { |
| 4 |
#endif |
| 5 |
|
| 6 |
longint |
| 7 |
#ifdef KR_headers |
| 8 |
qbit_shift(a, b) longint a; integer b; |
| 9 |
#else |
| 10 |
qbit_shift(longint a, integer b) |
| 11 |
#endif |
| 12 |
{ |
| 13 |
return b >= 0 ? a << b : (longint)((ulongint)a >> -b); |
| 14 |
} |
| 15 |
#ifdef __cplusplus |
| 16 |
} |
| 17 |
#endif |