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

integer
lbit_shift (integer a, integer b)
{
  return b >= 0 ? a << b : (integer) ((uinteger) a >> -b);
}