bitwise operators

what happens when we use fractional values in right shift or left shift operators
for example the following program,any one help me plzz
using namespace std;
int main()
int a=10;
a= a<<1.5;
return 0;
The code fails to compile.
error: invalid operands of types ‘int’ and ‘double’ to binary ‘operator<<’
Topic archived. No new replies allowed.