diff options
Diffstat (limited to 'Build/source/utils/pmx/pmx-2.6.17/libf2c/qbitshft.c')
-rw-r--r-- | Build/source/utils/pmx/pmx-2.6.17/libf2c/qbitshft.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Build/source/utils/pmx/pmx-2.6.17/libf2c/qbitshft.c b/Build/source/utils/pmx/pmx-2.6.17/libf2c/qbitshft.c new file mode 100644 index 00000000000..78e7b95100d --- /dev/null +++ b/Build/source/utils/pmx/pmx-2.6.17/libf2c/qbitshft.c @@ -0,0 +1,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 |