]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/blob - contrib/libf2c/libF77/lbitshft.c
Copy head to stable/8 as part of 8.0 Release cycle.
[FreeBSD/stable/8.git] / contrib / libf2c / libF77 / lbitshft.c
1 #include "f2c.h"
2
3 integer
4 lbit_shift (integer a, integer b)
5 {
6   return b >= 0 ? a << b : (integer) ((uinteger) a >> -b);
7 }