repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix bug building libgcc:
[official-gcc.git]
/
libf2c
/
libF77
/
qbitshft.c
blob
87fffb91ff8e75647ae176e8a11143765d4d3f37
1
#include
"f2c.h"
2
3
longint
4
#ifdef KR_headers
5
qbit_shift
(
a
,
b
)
longint a
;
integer b
;
6
#else
7
qbit_shift
(
longint a
,
integer b
)
8
#endif
9
{
10
return
b
>=
0
?
a
<<
b
: (
longint
)((
ulongint
)
a
>> -
b
);
11
}