summaryrefslogtreecommitdiff
path: root/gnu/lib/libf2c/libF77/qbitshft.c
blob: ce740edde19024e44865061bc02913847736d014 (plain)
1
2
3
4
5
6
7
#include "f2c.h"

longint
qbit_shift (longint a, integer b)
{
  return b >= 0 ? a << b : (longint) ((ulongint) a >> -b);
}