Log in

No account? Create an account

Immanentizing the something or other

A journey into stuff

Previous Entry Share Next Entry
screw-on head
Turns out the << operation is constrained by the type of the left operand.

  • 1
Are you referring to C++ operator overloading, or some of C's obscure and not-entirely-well-defined rules for the bit-shift operators?

Bit shift operators.
I was getting a 'shift count too large' operation on 1 << 18.

Er, do you mean left operand? If not, I'm lost.

(Deleted comment)
oh yes you do, admit it!

  • 1