Sign in
llvm
/
llvm-archive
/
3698204cb8af2c80b326ae84c9a9e6a4bccbdedc
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
gfortran.dg
/
lrshift_1.c
blob: 8b451107b01022f476f0b385affbaf7218470a98 [
file
] [
log
] [
blame
]
/* Left and right shift C routines, to compare to Fortran results. */
int
c_lshift_
(
int
*
x
,
int
*
y
)
{
return
(*
x
)
<<
(*
y
);
}
int
c_rshift_
(
int
*
x
,
int
*
y
)
{
return
(*
x
)
>>
(*
y
);
}